Change Data Capture in Oracle: What It Is, How It Works & Top Tools

Covers change data capture in Oracle from redo log reading to setup commands, plus a comparison of LogMiner, GoldenGate, Debezium and other log readers.

|
Nov 19, 2026
Updated Nov 20, 2026

Summarize with AI:

Oracle change data capture identifies each committed row-level insert, update and delete in an Oracle database and delivers only those rows downstream, with no GoldenGate purchase order. Oracle’s legacy built-in CDC feature, which captured changes synchronously through triggers or asynchronously from redo, is desupported, so current options read the redo log: LogMiner, which ships with the database, GoldenGate, which is separately licensed, and third-party readers. For loading Oracle tables into a warehouse on a schedule measured in minutes, LogMiner-based capture covers the job. GoldenGate earns its license only when you need lower latency at higher redo volume than scheduled LogMiner syncs deliver, so you can decide by your latency needs and redo volume.

Summary

  • Read changes from the redo log instead of triggers, because log-based capture runs after commit and adds no work to the writing transaction.
  • Oracle’s built-in CDC feature is desupported, so new builds choose among LogMiner, GoldenGate, XStream or a third-party log reader.
  • LogMiner ships with the database; GoldenGate and XStream-based capture need a GoldenGate license.
  • Put the database in ARCHIVELOG mode, add supplemental logging and grant the capture user LogMiner privileges before the first sync.
  • Keep archived logs longer than your longest sync interval, and watch DDL changes and capture lag from day one.

Learn more about Hybrid Deployment

What Is Oracle Change Data Capture?

Oracle change data capture records each row-level insert, update and delete as it commits and ships only those rows downstream to reduce the need for routine full reloads. CDC shrinks the payload of a load to what changed since the last one, and it carries deletes, which full extracts compare for and cursor-based extracts miss entirely.

Oracle once shipped a built-in feature named Change Data Capture, which it has since deprecated and desupported, so it is off the table for new work. What remains are log readers: Airbyte’s Oracle enterprise connector, LogMiner inside the database, GoldenGate as a separately licensed product, and third-party readers such as Debezium and HVR.

For data integration into data warehousing targets, each one replaces the extract step of a classic ETL process with a feed of changed rows. Which reader parses the log depends on how Oracle writes it.

How Does Oracle CDC Read Changes From the Redo Log?

A capture tool reads the redo entries Oracle already writes, parses them and emits change events. With HVR’s asynchronous log-based CDC, capture runs separately from the transactions that produce the changes, so those transactions do not wait for the reader.

Redo and Archived Logs Record Every Committed Change

Oracle records changes in online redo logs, and in ARCHIVELOG mode it also keeps them as archived logs. HVR’s Direct Redo Access captures changes from both redo and archive files, and Airbyte’s connector setup puts the database in ARCHIVELOG mode before CDC. A reader can only consume changes still on disk, so CDC data stays available only as long as archive log retention keeps the files. Readers record their position as a system change number (SCN), so a sync can resume where the previous one stopped.

Supplemental Logging Adds the Keys and Before Values

Supplemental logging adds extra column data to redo so a reader outside the database can build usable change records. Airbyte’s connector asks for all-column logging on each replicated table, on top of database-level supplemental logging. Logging more columns adds redo and archived log volume, so plan storage for it.

A Log Reader Turns Redo Entries Into Change Events

Readers differ in where they parse and who pays for the parsing:

  • LogMiner: HVR’s LogMiner capture reads redo through Oracle’s dbms_logmnr package over an SQL connection, with results drawn from V$LOGMNR_CONTENTS. Parsing runs inside the database and adds load to the source.
  • GoldenGate: Oracle’s separately licensed product.
  • XStream: XStream-based capture requires an Oracle GoldenGate license.

All three depend on the same foundation of archiving plus supplemental logging. Third-party direct readers add a fourth option: HVR’s Direct Redo Access reads transaction log records directly from the log file using file I/O. When you choose where parsing runs, you also choose which hosts must communicate across your network.

Replicating Oracle CDC Without Opening Inbound Firewall Ports

HVR CDC through Direct Redo Access, the agent-based route to Oracle CDC, places an HVR agent and its listener on each source Oracle server, which on RAC means a reachable listener on every node. The HVR hub initiates an inbound connection to that listener, so any firewall between the hub and the database servers must permit it. HVR’s direct reader remains the right fit for workloads that need direct redo reading or higher throughput than LogMiner-based capture offers, because it reads log files directly with file I/O instead of going through LogMiner.

To avoid those inbound listener connections, you can use a hybrid data plane, which Airbyte Flex provides: it runs CDC inside your network and sends outbound requests to the control plane, with no inbound requests required from it. You still need to allow outbound communication to the control plane and give the data plane access to the Oracle host inside your network.

Airbyte’s Oracle enterprise connector uses Debezium on LogMiner, and each scheduled CDC sync reads logs up to the sync start time, then completes. A hybrid data plane for on-prem replication built this way needs no agent on the database hosts. Scheduled warehouse loads fit this completed-sync pattern, so the remaining question is which capture method matches your latency needs.

Which Oracle CDC Method Fits: Triggers, Timestamp Polling, LogMiner, GoldenGate or Debezium?

LogMiner-based capture fits scheduled warehouse loads, GoldenGate or XStream fits feeds that need lower latency than a schedule provides, and triggers or polling fit small tables where you cannot change database configuration. The dividing line is synchronous versus asynchronous. Synchronous methods write the change inside the user’s transaction, so every commit pays for capture. Asynchronous methods read the log after commit.

MethodLatencySource overheadLicensingDDL handling
TriggersSet by how often consumers read the change tableCapture runs inside each writing transactionNo separate productTrigger code must follow schema changes
Timestamp pollingSet by the query intervalA query per poll; deletes not capturedNo separate productQueries must follow schema changes
Materialized view logsSet by the refresh intervalLog writes during DMLNo separate productLog definitions must follow schema changes
LogMinerSet by how often the reader runsAdds load on the source databaseNo GoldenGate license neededVaries by reader; HVR’s LogMiner method does not capture DDL
GoldenGateDepends on deploymentDepends on deploymentSeparate GoldenGate licenseDepends on configuration
XStreamDepends on the client applicationDepends on deploymentGoldenGate license requiredDepends on the client application
DebeziumSet by the host application; scheduled syncs in AirbyteUses LogMiner on the sourceNo GoldenGate license when reading through LogMinerDepends on the host application

Timestamp polling misses deletes because a deleted row leaves nothing to query, so replicating Oracle deletions takes log-based capture such as LogMiner. When comparing data replication tools, check which reader each one wraps.

Debezium fits best when Kafka already sits at the center of your architecture. Confluent bases its CDC connectors on Debezium and streams their changes into Kafka topics, where several consumers can read the same feed. If you have no Kafka cluster, running one for CDC alone adds a platform to operate, and a scheduled ETL platform or a dedicated data extraction tool reaching the same LogMiner interface is less infrastructure.

What Breaks When Running Change Data Capture in Oracle in Production?

The most expensive break is an archived log deleted before the reader consumes it, because the repair can require a fresh snapshot. The same breakpoints recur across every tool:

  • Archived log retention: Log deletion policies, including the RDS archivelog retention hours setting, must outlast your longest gap between syncs; daily syncs need multi-day retention.
  • Initial snapshot: The first full load of a large table can run for a long time during a data migration, so size retention for that first sync as well as later ones.
  • DDL and schema evolution: Every replicated table needs supplemental logging, so tables added later need it too, and LogMiner silently ignores table and column names longer than 30 characters.
  • Lag monitoring: Track how far the reader trails the source; Airbyte’s connector aborts a CDC sync after a configurable heartbeat timeout when it sees no change events.
  • CONTINUOUS_MINE: Oracle has desupported this option, so readers register each log file with LogMiner themselves, and every file they need must still be retained when they request it.

Renamed columns ripple into every downstream consumer unless you map them, which is why a canonical data model belongs in the design before the first Oracle table lands. Retention and redo growth also show up on the storage bill, so price them into your ETL cost model before the first sync. If consumers only need read access, sharing tables in place can cost less than copying them.

Running Oracle CDC When You Can’t Touch the Primary

Many Oracle teams won’t allow software installs or configuration changes on a production primary. That rules out some CDC methods but not all of them, so start with what each method actually needs.

LogMiner-based CDC installs nothing on the database server, because LogMiner ships with Oracle and the capture tool connects remotely. It does need ARCHIVELOG mode, supplemental logging and a capture user with LogMiner privileges. Supplemental logging is a database-level setting enabled on the primary and carried to standbys through redo, so even standby-based capture usually needs that one change on the primary. Some tools can capture from an Active Data Guard standby (see the FAQ below), but support varies by tool and method, so confirm it in your vendor’s documentation before planning around it.

If no log-based option is allowed, cursor-based incremental syncs work against a read-only standby with only SELECT access, as long as every table has a reliable updated-at column. Their gap is hard deletes, which leave nothing to query. Cover that with one of these:

  • A soft-delete flag in the application, synced like any other column
  • A scheduled primary-key reconciliation that compares the source’s key list with the destination’s and marks missing rows as deleted
  • Periodic full refreshes for small tables

How Do You Set Up Oracle CDC and Verify a Change Event?

Setup starts with a few commands run as SYSDBA. First confirm the log mode:

SQL
SELECT LOG_MODE FROM V$DATABASE;

If it returns NOARCHIVELOG, restart in mount mode and turn on archiving and supplemental logging:

SQL
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
ALTER DATABASE OPEN;
ALTER TABLE SALES.ORDERS ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;

On Amazon RDS, exec rdsadmin.rdsadmin_util.alter_supplemental_logging('ADD') replaces the ALTER DATABASE step. Next, create the capture user with the privileges required for Debezium and LogMiner:

SQL
CREATE USER airbyte IDENTIFIED BY <your_password_here>;
GRANT CREATE SESSION, FLASHBACK ANY TABLE, SELECT ANY TABLE,
  SELECT_CATALOG_ROLE, EXECUTE_CATALOG_ROLE, SELECT ANY TRANSACTION,
  LOGMINING, CREATE TABLE, LOCK ANY TABLE, CREATE SEQUENCE TO airbyte;

Multitenant CDBs need CONTAINER=ALL on these grants plus GRANT SET CONTAINER TO airbyte CONTAINER=ALL;. Then make one change and commit it:

SQL
UPDATE SALES.ORDERS SET STATUS = 'SHIPPED' WHERE ORDER_ID = 1001;
COMMIT;

A Debezium-format event for that update carries the operation type, timestamps, the SCN and both row images:

CSS
{
  "op": "u",
  "ts_ms": 1767225600000,
  "source": { "table": "ORDERS", "scn": "48213077", "ts_ms": 1767225599000 },
  "before": { "ORDER_ID": 1001, "STATUS": "PENDING" },
  "after":  { "ORDER_ID": 1001, "STATUS": "SHIPPED" }
}

If before arrives empty, first confirm the table carries the all-column supplemental logging the connector requires for CDC. Run this verification before trusting any tool’s dashboard.

How Does Airbyte Help With Oracle Change Data Capture?

Airbyte’s Oracle enterprise connector runs CDC through Debezium on top of LogMiner, so it needs no GoldenGate license and no agent on the database host. It operates read-only against the source database, replicates without locking production tables, and syncs on a schedule as often as every 5 minutes. Schema change detection flags new columns, and field-level hashing and encryption run during the sync, so a column such as a customer tax ID is masked before it lands. The limits: the connector supports Oracle 23ai, 21c and 19c, and LOB and RAW columns require full refresh for replication.

Flex answers the network question by splitting the work: Airbyte operates the control plane, while records are processed in your data plane, credentials are stored in your own secrets manager, and compute runs in your environment. Some metadata, such as cursor and primary-key values, sits in the control plane. The connectors are open source and inspectable, part of 700+ connectors, and PyAirbyte reads the same sources from Python, so Oracle tables governed this way can feed AI applications under the same access controls as analytics. Enterprise Flex uses capacity-based pricing on Data Workers, with sizing available upon request.

Should You Pay for GoldenGate to Run Change Data Capture in Oracle?

Start with LogMiner-based capture and a sync interval your archived log retention covers with room to spare. Move to GoldenGate when a business process needs changes faster than a scheduled sync delivers or when redo volume outgrows what a LogMiner session can mine. LogMiner-based capture hits a throughput ceiling at high redo volume. Budget for the license and the infrastructure GoldenGate runs on at that point, not before.

Airbyte covers the scheduled path with LogMiner-based Oracle CDC inside your own network through Flex and loads into the warehouses you already operate. If the project grows into moving a whole estate off a legacy platform, compare data migration tools and data transformation software on the same terms: log retention, network direction and licensing.

Get a demo to see how Airbyte replicates Oracle changes inside your network.

Frequently Asked Questions

Can CDC read from an Oracle Data Guard standby instead of the primary?

Yes, with tools that support it. HVR supports direct capture from both a mounted physical standby and an Active Data Guard standby, though not through its LogMiner method. Fivetran’s Oracle connector supports Active Data Guard standbys with Fivetran Teleport Sync, while Binary Log Reader support for them is in Private Preview. Reading from the standby moves parsing work off the primary, but HVR’s Data Guard setup still keeps a second connection to the primary for standard operations.

Does Oracle CDC capture changes to LOB columns?

Only partly, and support depends on the reader. Airbyte’s Oracle connector replicates CLOB and BLOB columns in full refresh but not through CDC, and HVR’s LogMiner method skips updates that change only LOB columns. If LOB changes matter to you, test them explicitly before committing to a tool.

How does Oracle CDC handle Oracle RAC with multiple redo threads?

It handles RAC when the reader covers every node’s redo thread. HVR runs one log parser per thread and needs its agent listener on every node for direct capture, while its LogMiner method does not support RAC. Plan agent placement and firewall rules per node if you choose a direct reader.

Does change data capture work on Amazon RDS for Oracle?

Yes, through LogMiner or remote reading, because RDS gives no operating-system access to redo files. You set archived log retention and supplemental logging through the rdsadmin package, and keeping automated backups on puts the instance in ARCHIVELOG mode; turn backups on when LOG_MODE does not return ARCHIVELOG. Agent-based direct readers cannot run on the RDS host, so HVR falls back to its BFILE or LogMiner methods. For LogMiner capture from RDS, HVR recommends running from an EC2 instance in the same region as the database.

Integrate with 700+ apps using Airbyte

Move data from 700+ sources into warehouses, lakes, and beyond. Set up pipelines in minutes with pre-built connectors and the Connector Builder.