欢迎光临
我们一直在努力

ORA-16710: snapshot standby database should be converted back to a physical standby database as soon as possible ORACLE 报错 故障修复 远程处理

文档解释

ORA-16710: snapshot standby database should be converted back to a physical standby database as soon as possible

Cause: A failover causes this snapshot standby database to enter a state that requires it to be re-created if another failover occurs before it is converted back to a physical standby database.

Action: Reenable the snapshot standby database if it is disabled and convert it back to a physical standby database as soon as possible because the snapshot standby database will have to be re-created if another failover occurs while it is in this state.

ORA-16710:快照异地数据库应该尽快转换回物理异地数据库

官方解释

ORA-16710表明,快照异地数据库必须要回复为物理异地数据库,不然将会导致数据库无法正常工作。

常见案例

当您重新安装数据库管理系统(RDBMS)时,您可能会收到ORA-16710,因为您在重新安装时必须按物理异地数据库(也称为物理数据库)重置数据库,而不是快照数据库。

一般处理方法及步骤

1. 将快照数据库更改为“应用”状态,例如alter database recover managed standby database cancel;

2. 从快照数据库获取恢复日志文件,来到物理异地数据库的目的地 的Dir1目录中。

3. 将目的地的Dir1修改为Dir2,将恢复日志文件从原始快照数据库复制到Dir2中。

4. 使用ALTER DATABASE更改数据库状态,让其变成物理异地数据库,例如,alter database recover managed standby database finish;

5. 将快照异地数据库转换回物理异地数据库。

6. 最后,可以使用Oracle Data Guard控制文件应用任何未跟随的恢复文件,以使异地数据库尽可能接近主数据库的状态。

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。