Replicate data from HeatWave on OCI to Autonomous Data Warehouse
Learn how to use OCI GoldenGate to replicate data from HeatWave on OCI to Autonomous Data Warehouse.
Overview
This quickstart example demonstrates how to set up and run a replication between HeatWave on OCI and Autonomous Data Warehouse using OCI GoldenGate.
Before you begin
To successfully complete this quicktart, you must have the following:
- OCI Bastion, to connect to HeatWave on OCI, load the sample database, and perform inserts
- A HeatWave on OCI database to serve as the source database
- An Autonomous Data Warehouse instance to serve as the target database
Task 1: Create the OCI GoldenGate resources
This quickstart example requires deployments and connections for both
the source and target.
- Create a deployment for the source HeatWave on OCI database.
- Create a deployment for the target Autonomous Data Warehouse.
- Create a connection to the source HeatWave on OCI database.
- Create connection for the target Autonomous Data Warehouse.
- Create a connection to GoldenGate, and then assign this connection to the source MySQL deployment.
- Assign the source connection to the source MySQL deployment.
- Assign the target connection to the target Oracle deployment.
Task 5: Verify the initial load
The output should return the data that was loaded into the target database tables as
a result of the Initial Load.
Task 6: Create a Distribution Path for a Change Data Capture
- In the source deployment console, click Distribution Service.
- Click Add Distribution Path.
- Complete the Add Path form as follows:
- In the target deployment console, click Receiver Service, and then review the Receiver path created.
Task 7: Add a Replicat for Change Data Capture
- Add the Replicat with the following values:
- On the Administration Service Overview page, select the Replicat for Initial Load (RIL) and view its Details.
- Click Statistics and review the number of Inserts.
Refresh the page.
- If the number of Inserts doesn't change, then all the records from the Initial Load have been loaded and you can stop the Replicat (RIL)
- If the number of Inserts continues to increase, then keep refreshing the page until the Initial Load records are all loaded before continuing.
- Return to the Administration Service Overview page and then start the Coordinated Replicat (RCDC).
- After starting the Coordinated Replicat, review its Details and Statistics to view the number of Inserts.