Professional Documents
Culture Documents
Create Tablespace in Oracle
Create Tablespace in Oracle
Permanent tablespace
create tablespace ts_something
logging
datafile '/dbf1/ts_sth.dbf'
size 32m
autoextend on
size 10M
Temporary tablespace
create temporary tablespace temp_mtr
tempfile '/dbf1/mtr_temp01.dbf'
size 32m
autoextend on
Undo tablespace
create undo tablespace ts_undo
datafile '/dbf/undo.dbf'
size 100M;
Misc
More than one datafile can be created with a single create tablespace command:
create tablespace ts_sth
logging