Oracle tablespace 操作

创建临时表空间

create temporary tablespace test_temp 
tempfile 'E:\app\oracle\oradata\orcl\test_temp01.dbf' 
size 32m 
autoextend on 
next 32m maxsize 2048m

创建数据表空间

create tablespace test_data 
logging 
datafile 'E:\app\oracle\oradata\orcl\test_data01.dbf' 
size 32m 
autoextend on 
next 32m maxsize 2048m 

创建用户并指定表空间

create user username identified by password 
default tablespace test_data 
temporary tablespace test_temp;


你可能感兴趣的:(Oracle)