ORA-16599: Data Guard broker detected a stale configuration ORACLE 报错 故障修复 远程处理

文档解释

ORA-16599: Data Guard broker detected a stale configuration

Cause: The Data Guard broker detected a stale configuration during initialization for this database.

Action: The broker will automatically resolve this situation once the primary database completes its initialization.

ORA-16599是由数据库容灾管理器(Data Guard broker)显示的错误信息,表明它检测到脱机数据库的配置已经是“古老的”,意味着也许会存在新的更改尚未应用到容灾系统中去。

官方解释

ORA-16599: Data Guard broker detected a stale configuration

Cause: The Data Guard broker failed to process a request upon detecting that the configuration is stale.

Action: Perform the requisite action to synchronize the configuration.

常见案例

这种错误的出现,通常的案例是,即使我们认真检查了Data Guard的配置,重启了Data Guard broker,在运行数据库容灾管理器(Data Guard broker) 被要求执行任何操作时,常常会收到以下错误信息:

ORA-16599: Data Guard broker detected a stale configuration.

一般处理方法及步骤

1. 首先,执行“show database” 命令,确认当前数据库是联机运行状态,如果没有联机,把数据库联机以后再执行“show database”命令。

2. 然后,执行“disable database” 命令,然后再重新启用Data Guard broker,或者如果你选择操作的Data Guard broker的副本,就把副本的Data Guard broker禁用以后重新启用它。

3. 之后,确认数据库的容灾模式,如果是有主库,就把它设置为必须运行状态,并让它成为主库,或者如果是“影子数据库”,就把它设置为不要运行。

4. 最后,使用“alter database” 命令来调整一些配置,调整所有受影响的数据库的设置,确保它们的配置是一致的,然后只要执行“enable database” 命令,就可以使Data Guard broker 开始重新工作了。


数据运维技术 » ORA-16599: Data Guard broker detected a stale configuration ORACLE 报错 故障修复 远程处理