Comment créer un Tablespace dans Oracle

De temps à autre, vous devrez créer un nouveau tablespace dans votre base de données Oracle.

Voici comment créer un tablespace dans Oracle.

Espace de stockage permanent

CREATE tablespace TS_NAME datafile
size 1G AUTOEXTEND ON NEXT 500M MAXSIZE UNLIMITED;

Espace de stockage temporaire

CREATE temporary tablespace TS_TEMP tempfile
size 1G AUTOEXTEND ON NEXT 500M MAXSIZE UNLIMITED;

Annuler le tablespace

CREATE undo tablespace TS_UNDO datafile size 3G;

Comment augmenter la taille d'un tablespace dans Oracle ?

ALTER TABLESPACE TS_NAME ADD DATAFILE 
SIZE 100M AUTOEXTEND ON NEXT 500M MAXSIZE UNLIMITED;

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *