Oracle temp表空间处理

匿名 (未验证) 提交于 2019-12-02 23:34:01

查询TEMP表所载物理位置
SQL> select tablespace_name,file_id,file_name,bytes/1024/1024 Mbytes from dba_temp_files;
1.处理方案
添加TMP表空间
alter tablespace temp add tempfile ‘/oracle/oradata/osa/temp03.dbf’ size 50m;

alter tablespace temp drop tempfile ‘/oracle/oradata/osa/temp01.dbf’ ;
2.重启数据库(危险操作)
重启后系统会自动重建,数据库会提示re-creating在bdump的alter_sid.log中
Re-creating tempfile /home/oracle/oradata/osa/temp01.db

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