ORA-30035: Undo tablespace cannot be specified as default temporary tablespace ORACLE 报错 故障修复 远程处理

文档解释

ORA-30035: Undo tablespace cannot be specified as default temporary tablespace

Cause: Undo tablespace cannot be specified as default temporary tablespace for the database

Action: Check the tablespace name and reissue the command

ORA-30035 是由于尝试使用 undo 表空间作为默认临时表空间而产生的错误。

官方解释

ORA-30035: undo tablespace cannot be specified as default temporary tablespace

Cause: An attempt was made to specify an undo tablespace as a default temporary tablespace.

Action: Specify a permanent tablespace as the default temporary tablespace.

常见案例

在进行表空间管理时,如果试图把undo表空间作为默认的临时表空间,就会引发ORA-30035的错误。

一般处理方法及步骤

1、查看当前的默认临时表空间:

SQL> show parameter TEMP

NAME TYPE VALUE

temporary_tablespace string TEMP

2、如果当前临时表空间是undo表空间,则需要重新指定一个永久表空间作为默认的临时表空间:

SQL> alter database default temporary tablespace temp2;

Database altered.

3、在执行完此步骤之后,再次查看是否已经被修改:

SQL> show parameter TEMP

NAME TYPE VALUE

temporary_tablespace string TEMP2

此时就能正确设置默认临时表空间了,不会再抛出ORA-30035 错误了。


数据运维技术 » ORA-30035: Undo tablespace cannot be specified as default temporary tablespace ORACLE 报错 故障修复 远程处理