Create pipeline resources
Create connections
OCI GoldenGate Pipelines currently only supports Oracle Autonomous Databases with dedicated endpoints. For best results, use Autonomous Transaction Processing as the source database and Autonomous Data Warehouse as the target database.
Before you create a pipeline, ensure that you first create connections to your source and target databases. See Connect to Oracle Autonomous Databases.
Create pipelines
- 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.
Add 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.
Enable pipeline logs
- On the Pipelines page, select the pipeline for which you want to enable logging.
- On the Pipelines details page, select Logs.
- In list of pipeline logs, select Enable log from the Critical Events Actions menu.
- In the Enable log panel:
Known issues
ZeroETL Mirror Pipeline Apply process failure
Error mapping from ADMIN.DBTOOLS$EXECUTION_HISTORY to <ADB ID>.ADMIN.DBTOOLS$EXECUTION_HISTORY.
Workaround: Create an Exclude rule with ADMIN.*
,
and then restart the Pipeline.
Oracle Data Pump fails if the target database time zone file version is lower than the source database's
The pipeline option, "Copy existing data to target database before starting replication" uses Oracle Data Pump. Oracle Data Pump fails if the target database's time zone file version is lower than that of the source database.
Workaround: To work around this, you must upgrade the target database's time zone version. See Manage time zone file updates on Autonomous Database.