ORA-00216: control file could not be resized for migration from 8.0.2 ORACLE 报错 故障修复 远程处理

文档解释

ORA-00216: control file could not be resized for migration from 8.0.2

Cause: The control file created by release 8.0.2 was missing some record types. These record types are automatically added by resizing the control file during mount. The resize has failed.

Action: Look in the alert log for the reason that the resize has failed. If indicated in the alert log, give the control file more space. Otherwise, use the CREATE CONTROLFILE script dumped to the trace file to create a new control file.

官方解释

ORA-00216 发生时表明移植控制文件时无法调整其大小。 这可能是由于在尝试移植控制文件时使用了旧版本的 Oracle 数据库文件,或者由于在源数据库上执行 CREATE CONTROLFILE 时没有指定 REUSE DATABASE 或 NORESETLOGS 引起的,同时如果在包含 Online Redo Log 或 Standby Database 的环境下,也可能出现此错误。

常见案例

1)如果使用备份文件移植旧版本的 Oracle 数据库文件,会出现ORA-00216 错误。

2)如果在在源数据库上执行 CREATE CONTROLFILE 时没有指定REUSE DATABASE 或 NORESETLOGS,可能会出现ORA-00216 错误。

3)如果正在执行移植控制文件的环境中同时包含在线重做日志或者standby 数据库,会出现ORA-00216 错误。

正常处理方法及步骤 :

1)在不重建控制文件的情况下,使用现有控制文件的情况下,使用 ALTER DATABASE DATAFILE DSIZE 并指定新的大小,来调整控制文件的大小。 新的 filename.dbf 将在初始化参数文件中指定。

2)另一种方法是创建一个新的控制文件,指定REUSE DATABASE 或 NORESETLOGS参数,来防止将旧的更改复制到新的控制文件中。


数据运维技术 » ORA-00216: control file could not be resized for migration from 8.0.2 ORACLE 报错 故障修复 远程处理