ORA-12916: cannot shrink permanent or dictionary managed tablespace ORACLE 报错 故障修复 远程处理

文档解释

ORA-12916: cannot shrink permanent or dictionary managed tablespace

Cause: An attempt was made to shrink a permanent tablespace or a dictionary managed tablespace.

Action: Check the tablespace type and issue the statement only on locally managed temporary tablespaces.

ORA-12916:无法缩小永久或字典管理表空间

官方解释

ORA-12916表示无法缩小特定表空间,因为它是永久或字典管理表空间。 Oracle8i中添加了表空间收缩功能,它允许用户减少表空间的尺寸以释放空间,但这只适用于临时表空间或本地管理表空间。

常见案例

一般来说,当开发人员尝试缩小永久或字典管理表空间时,会出现这个错误。

正常处理方法及步骤

1.在表空间中创建一个本地管理的数据文件。

2.将表空间中的所有对象移动到新创建的数据文件中。

3.删除之前永久或字典管理的所有数据文件。

4.调整新创建的本地管理数据文件的大小。

5.重新打开数据库。


数据运维技术 » ORA-12916: cannot shrink permanent or dictionary managed tablespace ORACLE 报错 故障修复 远程处理