oracle学习笔记:重建临时表空间

牧云@^-^@ 提交于 2019-12-05 13:58:41

重建临时表空间

1、创建中转临时表空间

create temporary tablespace TEMP1 tempfile '/oradata/HXDB/datafile/temp02.dbf' size 256M reuse autoextend on next 16M maxsize 1024M;

2、修改缺省临时表空间

alter database default temporary tablespace temp1;

3、删除原来临时表空间

drop tablespace temp including contents and datafiles;

4、重建临时表空间

create temporary tablespace TEMP tempfile '/oradata/HXDB/datafile/temp01.dbf' size 256M reuse autoextend on next 16M maxsize 1024M;

5、修改缺省临时表空间

alter database default temporary tablespace temp;

6、删除中转用临时表空间

drop tablespace temp1 including contents and datafiles;

 

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!