备库无法open状态下实时应用在线归档,alert中输出如下:
alter database recover managed standby database using current logfile disconnect from session
Sat May 09 11:44:38 2020
You have not enabled the Active Data Guard option.
The standby database will be closed before starting recovery.
All dispatchers and shared servers shutdown
CLOSE: killing server sessions.
CLOSE: all sessions shutdown successfully.
Sat May 09 11:44:38 2020
SMON: disabling cache recovery
Attempt to start background Managed Standby Recovery process (orcl1)
Sat May 09 11:44:39 2020
MRP0 started with pid=39, OS id=77789
MRP0: Background Managed Standby Recovery process started (orcl1)
解决:
检查备库数据库版本是否为企业版?标准版没有此项功能;
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for Linux: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production