本文主要是介绍oracle “ORA-25153:临时表空间为空”,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
从生产上面备份出来了一个数据库,应用在使用时显示ORA-25153临时表空间为空的报错,原因一般是数据库迁移时,没有迁移完整造成的
解决方法
1.创建新的临时表空间temp2
create temporary tablespace temp2 tempfile '+DATA' size 100M autoextend on;
2.设置新的临时表空间temp2为默认临时表空间
alter database default temporary tablespace temp2;
3.删除原有不可用的临时表空间
drop tablespace temp including contents and datafiles cascade constraints;
4.重新创建新的默认表空间TMEP
create temporary tablespace TEMP tempfile '+DATA' SIZE 50M AUTOEXTEND ON;
5.重新设置默认表空间为TMEP
alter database default temporary tablespace temp;
6.删除第一次创建的不用的临时表空间temp2
drop tablespace temp2 including contents and datafiles cascade constraints;
这篇关于oracle “ORA-25153:临时表空间为空”的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!