(一)表空间的相关基础知识
2) make TEMP_GRP the default temporary tablespace for all new users
create temporary tablespace TEMP1 tempfile '/u01/app/oracle/oradata/orcl/disk4/temp1.dbf' size 200m tablespace group temp_grp;
create temporary tablespace TEMP2 tempfile '/u01/app/oracle/oradata/orcl/disk5/temp2.dbf' size 200m tablespace group temp_grp;
alter database default temporary tablespace temp_grp;
(三)修改表空间
(1)修改数据文件的大小
alter database datafile '/u01/app/oracle/oradata/orcl/disk4/incentory01.dbf' resize 50m;
(2)给表空间增加数据文件
alter tablespace inventory add datafile '/u01/app/oracle/oradata/orcl/inventory03.dbf’size 50m autoextend on next 10m maxsize unlimited.
(四)删除表空间
drop tablespace inventory including contents and datafiles;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30935525/viewspace-2035171/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/30935525/viewspace-2035171/