ORA-19735: wrong creation SCN – control file expects initial plugged-in datafile ORACLE 报错 故障修复 远程处理

文档解释

ORA-19735: wrong creation SCN – control file expects initial plugged-in datafile

Cause: When a tablespace is plugged into a database, the tablespace is initially read-only. Oracle converts the header of the plugged-in datafiles (assign them a new creation SCN) when the tablespace is first made read-write. This error occurs when the creation SCN in the file header is different from the creation SCN in the control file, possibly because this is the converted datafile.

Action: Either restore the initial version of the plugged-in datafile, or continue database recovery, which will recover the control file.

ORA-19735:错误的创建SCN – 控制文件期望初始插入的数据文件

这是一个Oracle数据库错误,它表明当您试图加载备份拦截文件时,rman将使用从拦截备份恢复旧文件时出现错误。当恢复拦截文件时,控制文件期望文件从插入开始,然而RMAN可能以另一种方式恢复它,导致该错误。

官方解释

ORA-19335错误代表RMAN恢复文件时出了问题,它要求文件必须一开始就是插入的,而不是作为一个实际的恢复操作而执行的。

常见案例

– 当尝试从拦截备份恢复数据文件时,出现此错误。

– 此错误可以在Oracle数据库的操作日志中看到,而不仅仅是RMAN的输出。

一般处理方法及步骤

1. 请确保您已恢复了最新版本的控制文件,且该控制文件与要恢复的数据文件匹配。

2. 使用RMAN回滚拦截备份,以便加载新的控制文件,同时确保RMAN在加载它时不会遇到错误。

3. 使用“recover datafile”命令来恢复数据文件,而不是使用“restore datafile”。

4. 使用RMAN的“RECOVER COPY OF DATAFILE”命令,以便成功恢复数据文件。

由于此错误是由于控制文件设置,因此在解决此错误时必须重新恢复或替换原始控制文件,以便RMAN正确恢复文件。


数据运维技术 » ORA-19735: wrong creation SCN – control file expects initial plugged-in datafile ORACLE 报错 故障修复 远程处理