Usage Notes for Advanced Redo Transport Settings

简介: Usage Notes for Advanced Redo Transport Settings

The RedoRoutes property has a default value of NULL, which is treated as (LOCAL : ALL) at a primary database.

默认规则是:主库同步日志到所有备库。

The ASYNC redo transport attribute must be explicitly specified for a cascaded destination to enable real-time cascading to that destination.
@开始实时级联备库需要指定ASYNC。
ASYNC = Real-Time Cascading
SYNC = Non Real-Time Cascading

# Real-Time Cascading
DGMGRL> edit database sborcl set property redoroutes='(orcl : orcl03 ASYNC)';
Property "redoroutes" updated
DGMGRL>  show configuration;

Configuration - dg_orcl

  Protection Mode: MaxPerformance
  Members:
  orcl   - Primary database
    sborcl - Physical standby database 
      orcl03 - Physical standby database (receiving current redo)


# Non Real-Time Cascading

DGMGRL> edit database sborcl set property LogXptMode = 'SYNC'; 
Property "logxptmode" updated
DGMGRL> edit database sborcl set property redoroutes='(orcl : orcl03)';
Property "redoroutes" updated
DGMGRL> show configuration;

Configuration - dg_orcl

  Protection Mode: MaxPerformance
  Members:
  orcl   - Primary database
    sborcl - Physical standby database 
      orcl03 - Physical standby database (receiving archived redo)

Fast-Start Failover:  Disabled

Configuration Status:
DISABLED

--Cascaded Standby Databases in Oracle 12c (文档 ID 1542969.1)

A redo routing rule is active if its redo source field specifies the current primary database. If a rule is active, primary database redo is sent by the database at which the rule is defined to each destination specified in the redo destination field of that rule.

The RedoRoutes property cannot be configured such that when a physical standby database is converted to a snapshot standby, the snapshot standby would send redo data to another member.

The RedoRoutes property can be set for a logical standby database only if the redo source field is set to LOCAL

相关文章
|
关系型数据库 数据库 文件存储
|
8月前
|
SQL 运维 容灾
MySQL 主从复制全解:底层原理、复制模式差异、主从延迟排查与优化实战
本文系统解析MySQL主从复制:涵盖核心价值(高可用、读写分离、备份分析、异地多活)、binlog与redo log本质区别、GTID原理、异步/半同步/MGR三大模式对比,以及主从延迟根因排查(IO/SQL线程瓶颈)与全链路优化方案(架构、主库、从库、SQL四维优化),附实战案例与MyBatis-Plus读写分离实现。
689 3
|
安全 关系型数据库 网络安全
安全加固:启动PostgreSQL 14服务器SSL加密的方法指南在CentOS 7环境中
通过上述步骤,你可以为PostgreSQL数据库服务器设置SSL加密,从而增加数据在传输中的安全性。确保维持证书的有效性,并且定期更新和管理密钥,以防止未授权访问。
705 0
|
存储 Oracle 关系型数据库
oracle数据恢复—oracle数据库执行错误truncate命令的数据恢复案例
oracle数据库误执行truncate命令导致数据丢失是一种常见情况。通常情况下,oracle数据库误操作删除数据只需要通过备份恢复数据即可。也会碰到一些特殊情况,例如数据库备份无法使用或者还原报错等。下面和大家分享一例oracle数据库误执行truncate命令导致数据丢失的数据库数据恢复过程。
|
存储 Oracle 关系型数据库
数据库数据恢复—Oracle ASM磁盘组故障数据恢复案例
Oracle数据库数据恢复环境&故障: Oracle ASM磁盘组由4块磁盘组成。Oracle ASM磁盘组掉线 ,ASM实例不能mount。 Oracle数据库故障分析&恢复方案: 数据库数据恢复工程师对组成ASM磁盘组的磁盘进行分析。对ASM元数据进行分析发现ASM存储元数据损坏,导致磁盘组无法挂载。
|
SQL Oracle 安全
免费 Oracle 各版本 离线帮助使用和介绍
免费 Oracle 各版本 离线帮助使用和介绍
641 2
|
SQL Oracle 关系型数据库

热门文章

最新文章