ORA-16108: database is no longer a standby database
Cause: The current database has already been made a primary database.
Action: Issue the following commands to make this primary a standby. ALTER DATABASE COMMIT TO SWITCHOVER TO LOGICAL STANDBY; ALTER DATABASE START LOGICAL STANDBY APPLY NEW PRIMARY dblink;
ORA-16108错误表示当前数据库不再处于Standby数据库状态。
(1)监测进程Data Guard Broker的状态,如果发现数据库已经不在standby状态,请检查数据库的记录状态:
SQL> show configuration
(2)如果被影响的实例不再处于standby数据库,请依据当前的状态执行恢复操作,
(3)如果监测到Data Guard主机没有足够的资源来支持standby数据库,可以尝试移除数据库:
SQL> alter database remove database;
(4)然后重建执行下面的操作:
SQL> alter database rename to standby database;
(5)最后,同步和重新转换数据库。