SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-10456: cannot open standby database;media recovery session may be in
progress
解决办法:
1.停止备库的日志应用
SQL> alter database recover managedstandby database cancel;
Database altered.
2.打开备库
SQL> alter database open;
Database altered.
3.备库应用日志
SQL> Alter database recover managedstandby database using current logfile disconnect from session;
Database altered.
4.查看备库状态
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ ONLY WITH APPLY 联系我时,请说是在114黄页信息网看到的,谢谢!
【重要提醒】 转发本信息给好友或分享到朋友圈,被转发超过20次,信息将自动置顶一周!