Home icon
Implement Oracle GoldenGate bidirectional replication between Amazon RDS for Oracle databases

Blog



This article provides a comprehensive guide to implementing Oracle GoldenGate bidirectional replication between Amazon RDS for Oracle databases across AWS regions.

  • Active-active replication enables multiple database instances to support independent read/write operations with synchronized changes
  • Architecture uses OGG on EC2 instances, VPC peering, and Route 53 for global application deployment
  • Prerequisites include two EC2 instances with OGG 19c+, VPC peering, Oracle client, S3 bucket with cross-region replication, and IAM roles
  • Initial data load uses Oracle Data Pump (expdp/impdp) with S3 integration for transferring data between regions
  • Extract processes capture incremental changes; Pump processes decouple extraction from network transmission
  • Replicat processes apply changes on target databases with conflict detection and resolution using USEMAX strategy
  • Conflict resolution uses COMPARECOLS to detect conflicts and RESOLVECONFLICT to apply resolution rules
  • Testing validates one-way and bidirectional replication, plus conflict detection with automatic resolution
  • CloudWatch monitoring tracks OGG error logs for operational visibility

This solution enables mission-critical applications to achieve high availability across regions with data redundancy and zero-downtime disaster recovery capabilities.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.