Replicate data between cloud
databases in different regions
Learn to set up and configure Oracle Cloud Infrastructure GoldenGate to replicate data
between two Autonomous Databases located in different regions.
Overview 🔗
Oracle Cloud Infrastructure GoldenGate enables you to replicate data in supported OCI databases
located in different regions. The following steps guide you through how to set up and
run this replication model.
Create a GoldenGate connection in Region A with
the target deployment connection details and assign it to the source
deployment.
Task 2: Configure the source
deployment 🔗
In Region A (source region), launch the deployment console from the deployment
details page, and log in with the GoldenGate credentials you specified in Task
1.
Add and run an Extract. Ensure that the Extract is
running and capturing source changes before proceeding to the next step.
If using GoldenGate credential store, add a Path
Connection that the source deployment can use to connect to the target
deployment:
In the navigation menu, click Path
Connections.
On the Path Connections, click Add Path Connection (plus icon), and then
complete the fields as follows:
For Credential Alias, enter an alias.
For User ID, enter ggsnet.
For Password and Verify Password, enter a
password.
Click Submit.
Task 3: Configure the target
deployment 🔗
In Region B (target region), launch the deployment console from the deployment
details page, and then log in using the GoldenGate credentials you specified in
Task 1.
If using GoldenGate credential store, create a user with which the source
deployment uses to connect to the target deployment:
In the navigation menu, click User
Administration.
Click Add New User (plus icon), complete the fields as follows,
and then click Submit:
For Authenticated By, select Password
from the dropdown.
For Role, select Operator from the
dropdown.
For Username, enter a name
(ggsnet, for example).
For Password, enter the password associated
with this user. Verify the password.
You can copy and
paste the Console URL from the source Deployment Details page and
remove the https:// protocol.
Port Number: 443
Domain: Enter the source OCI GoldenGate user name
(ggsnet)
Alias: Enter the source OCI GoldenGate alias
Target Trail Name: Enter a two character trail name for the
target trail
Verify that the Target-initiated Path is created in the
target region OCI GoldenGate Deployment
Console.
Task 4: Replicate data 🔗
On the source deployment console in Region A, verify that the Distribution path was created in the Distribution Service.
Return the target deployment console in Region B, and then add and run a Replicat. The Replicat reads the Trail
file created by the Target-initiated Path.