ORA-16432: inconsistent set of logs applied at a standby database ORACLE 报错 故障修复 远程处理
文档解释
ORA-16432: inconsistent set of logs applied at a standby database
Cause: Redo apply stopped because it detected an inconsistency in the progression of the SCNs. If this database is a bystander standby database, this is most likely due to a failover operation in which incompatible logs were applied from the old and new primary databases.
Action: Determine the STANDBY_BECAME_PRIMARY_SCN by selecting it from V$DATABASE on the new primary database. Then, flashback the target database to this SCN and use RMAN to delete all archive logs at or beyond this SCN. Finally, fetch all terminal end of redo (EOR) logs corresponding to the failover operation from the new primary and register all these logs at the target database. Restart redo apply.
ORA-16432代表在备份数据库上应用了一组不一致的日志。
官方解释
常见案例
一般处理方法及步骤
1.查找和补充缺失的日志文件。
2.确保所有需要的日志文件都存在于备份数据库路径中。
3.尝试由日志应用引发的冲突,并从备份数据库中删除这些残留日志。
4.重新在备份数据库上执行日志应用操作,以便使其与主数据库保持一致。