ORA-16661: the standby database needs to be reinstated

文档解释

ORA-16661: the standby database needs to be reinstated

Cause: A role change has caused this database to require reinstatement.

Action: Use the DGMGRL REINSTATE DATABASE command or Enterprise Manager to reinstate the database. Reinstate the database as soon as possible, because the database will have to be re-created if another role change occurs while it is in this state.

ORA-16661是一个ORACLE错误,指出辅助数据库需要被重新激活。

官方解释

常见案例

一般处理方法及步骤

1)检查辅助数据库的状态:

SQL> SELECT STATUS FROM V$STANDBY_DATABASE;

如果状态显示为“待激活”,则表明辅助数据库需要被激活。

2)使用ALTER DATABASEACTIVATE STANDBY DATABASE 命令激活辅助数据库:

SQL> ALTER DATABASE ACTIVATE STANDBY DATABASE;

3)重新启动ORACLE服务器设备,或者在本地打开服务器清单以校验服务器当前运行状态:

SQL> STARTUP;

4)重新检查辅助数据库状态,其应显示为“活动”:

SQL> SELECT STATUS FROM V$STANDBY_DATABASE;

你可能感兴趣的