ORA-12919: Can not drop the default permanent tablespace ORACLE 报错 故障修复 远程处理

文档解释

ORA-12919: Can not drop the default permanent tablespace

Cause: An attemp was made to drop the default permanent tablespace

Action: Make a different tablespace as the default permanent tablespace and reissue the drop

ORA-12919消息指出,无法删除默认的永久表空间。这是因为,在数据库实例中创建时,永久表空间被指定为默认表空间,该表空间为所有用户、系统定义的对象及存储提供存储空间。因此,系统不允许你删除一个正在用作默认表空间的表空间。

通常情况下,要解决ORA-12919错误,首先需要使用ALTER DATABASE语句设置一个新的默认表空间,其次再使用DROP TABLESPACE语句删除该表空间。

步骤如下:

(1)创建一个新的表空间

(2)使用ALTER DATABASE语句将新的表空间设置为默认表空间

(3)运行DROP TABLESPACE语句以删除无用的永久表空间


数据运维技术 » ORA-12919: Can not drop the default permanent tablespace ORACLE 报错 故障修复 远程处理