重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1345|回复: 0
打印 上一主题 下一主题

[Oracle] 19C备库alertlog中出现 “Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATAB...

[复制链接]
跳转到指定楼层
楼主
发表于 2022-8-2 11:42:22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
报错信息:
2022-08-02T11:20:46.575443+08:00
Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.
Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.
alter database recover managed standby database using current logfile disconnect from session
2022-08-02T11:20:46.580718+08:00
Attempt to start background Managed Standby Recovery process (orcl)
Starting background process MRP0
2022-08-02T11:20:46.599793+08:00
MRP0 started with pid=48, OS id=5040
2022-08-02T11:20:46.601481+08:00
Background Managed Standby Recovery process started (orcl)
2022-08-02T11:20:49.062917+08:00
rfs (PID:4557): Archived Log entry 12 added for B-1047224844.T-1.S-137 ID 0x5de10d8a LAD:2

查看了一下12c的官方文档,官方文档是这样说明的,
8.2.1 Using Real-Time Apply to Apply Redo Data Immediately

If the real-time apply feature is enabled, then apply services can apply redo data as it is received, without waiting for the current standby redo log file to be archived. This results in faster switchover and failover times because the standby redo log files have already been applied to the standby database by the time the failover or switchover begins. It also enables real-time reporting on an Oracle Active Data Guard standby by keeping it more closely synchronized with the primary database.

Use the ALTER DATABASE statement to enable the real-time apply feature, as follows:

    For physical standby databases, issue the ALTER DATABASE RECOVER MANAGED STANDBY DATABASE statement. (As of Oracle Database 12c Release 1 (12.1), the USING CURRENT LOGFILE clause is deprecated and no longer necessary to start real-time apply.)

    For logical standby databases, issue the ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE statement.

Real-time apply requires a standby database that is configured with a standby redo log and that is in ARCHIVELOG mode.

注意里面的这一行

Real-time apply requires a standby database that is configured with a standby redo log and that is in ARCHIVELOG mode.
在12c 下,主要通过以下的语句启用real-time apply
SQL>  ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
SQL>  ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
SQL>  ALTER DATABASE RECOVER MANAGED STANDBY USING ARCHIVED LOGFILE DISCONNECT;


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-23 10:14 , Processed in 0.081257 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表