Mirror data with ZeroETL mirror pipelines
Learn to mirror data from Autonomous Transaction Processing to Autonomous Data Warehouse using ZeroETL mirror pipelines.
Before you begin
Ensure that you:
- Review and configure row uniqueness across database tables to avoid primary key issues with ZeroETL mirroring. Primary keys uniquely identifies a record or row in a database table. See Ensuring row uniqueness in source and target tables.
- As a user with admin privileges for the target database, grant the following privileges to the GGADMIN user for ZeroETL mirroring:
GRANT DWROLE TO GGADMIN; GRANT DATAPUMP_CLOUD_EXP TO GGADMIN; GRANT DATAPUMP_CLOUD_IMP TO GGADMIN; GRANT EXECUTE ON DBMS_CLOUD_ADMIN TO GGADMIN; GRANT CREATE DATABASE LINK TO GGADMIN;
- Check
DBA_GOLDENGATE_SUPPORT_MODE
view on the source database that displays information about the level of Oracle GoldenGate capture process support for the tables in the database. - Add the minimum required policies for GoldenGate pipelines.
- The source and target connections you're using for the pipeline have Dedicated endpoints.
Task 1: Create connections
First, create connections to your source and target databases. OCI GoldenGate Pipelines currently supports Oracle Autonomous Database connections.
Task 3: Add Mapping rules
Mapping rules let you change the default one-to-one mapping of source tables and schemas to the target.
To preview, add, or remove mapping rules:
- On the Pipeline information page, select Mapping rules.
- In the Mapping rules list you can review or edit the current mapping rules and:
- Preview: Review how your mapping rules affect the schemas and tables included in the replication.
- Add: Identify tables and schemas to include or exclude. You can use the fully qualified object name or wildcards in place of any part of the object name. For more information, see Using Wildcards in Database Object Names.
- Remove: Remove mapping rules.
Task 4: Enable logging
To enable logging in the pipeline:
- On the Pipelines page, select the pipeline you want to enable logging for.
- On the Pipelines details page, select Logs.
- In the list of Pipelines, from the Action menu, for the pipeline you want to enable, select Enable log.
- In the Enable log panel:
- For Log retention, select the number of months from the dropdown.
- Click Enable log.
Wait for the status to become Active.