Académique Documents
Professionnel Documents
Culture Documents
I. Rappel :
CREATE {BIGFILE|SMALLFILE} TABLESPACE nom_tablespace
DATAFILE ‘nom_fichier’ [size integer {K,M,G,T} AUTOEXTEND {ON|OFF}
[NEXT integer {K,M,G,T}]
[MAXSIZE UNLIMITED | integer[{K|M|G|T}]
BLOCKSIZE integer K]
{ONLINE|OFFLINE}
Tablespace temporaire:
1
Supprimer un tablespace :
II. TP :
SQLplus /nolog
SQL> create tablespace tbs2 datafile ‘c:\dbf\2.dbf’ size 50M, ‘c:\dbf\3.dbf’ sie 40M;
Agrandir ce tbs2:
SQL> create tablespace tbs3 datafile ‘c:\dbf\5.dbf’ size 100M autoextend on next 20M maxsize 1G;
2
SQL> drop tablespace tbs1; ???????
SQL> alter tablespace bigtbs1 add datafile ‘c:\dbf\big2.dbf’ size 100M; ???
SQL> create tablespace tbs2 datafile ‘c:\dbf\2.dbf’ size 50M, ‘c:\dbf\3.dbf’ size 40M;
SQL>