Skip to main content

Prerequisites

  • Host and port of the primary, or of an Active Data Guard physical standby (see Can I replicate from a standby?)
  • Service name
  • Multi-tenant architecture only: the pluggable database (PDB) name
  • Service account credentials

Oracle setup

1. Enable archive logs

Keep archived logs for at least 24 hours, and longer than your longest expected outage. If a log is deleted before Artie reads it, the pipeline stops until you restore the log or backfill the tables.

2. Turn on supplemental logging

3. Creating the database user

Overriding primary keys

To replicate a table without a primary key, use the columns of one of its unique indexes instead. In the Tables tab, open the table’s Advanced settings, check Override primary keys, and select the index’s columns. The selected columns must match a unique index’s columns exactly. If they don’t, the pipeline stops with no unique index found for column(s): (<columns>), followed by the table’s unique indexes.

Frequently asked questions

Can I replicate from a standby?

Yes, from an Active Data Guard physical standby that’s open read-only. Artie reads the standby’s archived redo logs and never writes to the standby. Contact us to enable streaming from a standby for your pipeline. Configure the primary with:
  • ARCHIVELOG mode and supplemental logging, as described in Oracle setup. Both replicate to the standby.
  • The service account and its grants, as shown below. Users and grants replicate to the standby.
  • ARCHIVE_LAG_TARGET, so the primary switches logs regularly even when it’s quiet. Artie reads a change only after the standby has archived the log that holds it.
A standby needs fewer grants than step 3 of the Oracle setup, because Artie only reads from it. Run this on the primary:
Configure the standby with:
  • Read-only access with redo apply running (Active Data Guard)
  • Archived logs kept until Artie has read them. If a log is deleted first, the pipeline stops until the log is restored or the tables are backfilled.
Use this query on the standby to verify its configuration:
Changes from a standby arrive at least one log switch behind the primary, so ARCHIVE_LAG_TARGET sets your minimum replication lag.
Standbys of Oracle RAC databases, snapshot standbys, and far sync instances aren’t supported.