重庆思庄Oracle、Redhat认证学习论坛
标题: oracle19c 重建temp表空间 [打印本页]
作者: mahan 时间: 2023-12-10 15:36
标题: oracle19c 重建temp表空间
版本oracle19c rac
2.create temporary tablespace TEMP2 TEMPFILE '+DATADG01' SIZE 1g AUTOEXTEND off; --创建中转临时表空间
3.alter database default temporary tablespace TEMP2; --改变缺省临时表空间 为刚刚创建的新临时表空间temp2
4.drop tablespace temp including contents and datafiles;--删除原来临时表空间
如果删除这步报错:
On : 12.2.0.1 version,
Not able to drop Temporary tablespace
The issue can be reproduced at will with the following steps:
DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;
Getting Error
ORA-60100: dropping temporary tablespace with tablespace ID number (tsn) 3 is blocked due to sort segment