All Sources & Targets
Outbound Oracle Database Capture

Four ways to capture changes from Oracle Database

capture-oracle connects natively over Oracle Net (:1521) in pure Go—with no Oracle Instant Client libraries and no GoldenGate license. Choose between redo LogMiner, Flashback Version Query / FDA, RAC-ordered audit triggers, or high-watermark polling across Standalone 19c/21c/23ai, CDB/PDB, Active Data Guard, Oracle RAC, and Exadata.

Pure-Go (No Instant Client) No GoldenGate License Required Standalone, RAC & Exadata Ready Monotonic 63-Bit SCN Versions

Oracle Capture Modes at a Glance

Compare latency, throughput ceiling, Oracle compute impact, licensing cost, and schema coupling across the four capture modes built into capture-oracle.

Capture Mode Capture Latency Throughput Oracle Compute Impact License & Cost Profile Coupling
Redo & Archive LogMiner (DBMS_LOGMNR)
capture-oraclemode: logminer
~0.5–2 sMedium–high (10k–50k rows/s)PGA/SGA mining session (Primary or Standby)💲 Included in EE / SE2 / FreeLow (redo log + catalog grants)
Flashback Version Query &
Flashback Data Archive (FDA)
capture-oraclemode: flashback
~1–5 sHigh (Exadata Smart Scan offload)Undo / FDA SQL scan (Primary or Read-Only Standby)💲 Included (FDA included since 19c)Loose (table SELECT + FLASHBACK only)
Audit Trigger Table + RAC ORDER Sequence
capture-oraclemode: trigger
~0.5–2 sLow–medium (DML write amplification)Synchronous trigger insert + indexed SEQ poll💲 Included in all editionsTight (schema trigger & table DDL)
High-Watermark Column & ORA_ROWSCN Polling
capture-oraclemode: polling
Seconds (poll interval)Medium–high (index or Smart Scan)Read-only index range scan💲 Zero license or redo impactMinimal (SELECT privilege only)

All four modes are built into the single capture-oracle container image and selected via settings.mode in your flow YAML. None require an Oracle GoldenGate or XStream license.

Which Capture Mode to Choose

Match settings.mode on capture-oracle to your Oracle edition, DBA privilege model, and hardware topology.

Standard OLTP (Standalone, CDB/PDB, RAC) mode: logminer

Default zero-trigger redo log capture

Use LogMiner with DICT_FROM_ONLINE_CATALOG and PK Supplemental Logging for sub-second to low-second capture of inserts, updates, and deletes across single-instance and RAC databases with zero GoldenGate license cost.

Exadata HCC, Active Data Guard, or PDB-Only User mode: flashback

Pure-SQL Flashback Version Query / FDA

Use Flashback mode when capturing Exadata HCC-compressed tables, reading from a read-only Active Data Guard standby, or connecting as a PDB user without CDB$ROOT or DBMS_LOGMNR privileges.

Standard Edition Without ARCHIVELOG or Heavy LOBs mode: trigger

Transactional audit table with RAC ORDER sequence

Use Trigger mode when ARCHIVELOG mode cannot be enabled or tables contain complex out-of-line LOBs that must be captured inline inside the transaction.

Read-Only Views or Locked-Down Third-Party Schemas mode: polling

High-watermark column or ORA_ROWSCN polling

Use Polling mode when the database team grants only SELECT on tables or views and no supplemental logging, flashback, or trigger DDL is permitted.

Capture Modes in Detail

Every mode emits the same standardized Aestus change envelopes (RowSet or DocChange), maintains local checkpoints and keys.db routing state, runs AS OF SCN initial snapshots, and serves point-read recaptures.

01. Redo & Archive LogMiner (DBMS_LOGMNR)
capture-oraclemode: logminer

Starts bounded DBMS_LOGMNR sessions over online and archived redo logs with COMMITTED_DATA_ONLY and DICT_FROM_ONLINE_CATALOG, streams committed INSERT, UPDATE, and DELETE operations from V$LOGMNR_CONTENTS ordered by (COMMIT_SCN, SCN, RBA_SEQ, RS_ID, SSN), reassembles multi-row CSF continuations, and advances the checkpointed SCN only after the message broker confirms the batch.

Architecture diagram: Oracle online and archived redo logs mined via DBMS_LOGMNR and V$LOGMNR_CONTENTS over pure-Go go-ora/v2 by capture-oracle (mode: logminer) into Aestus CDC message broker partition queues

Pros: Zero trigger or write-path overhead on application DML. Captures inserts, updates, and hard deletes with exact commit SCN and transaction ID (XID). Automatically merges redo threads across all Oracle RAC nodes and filters Pluggable Databases via SRC_CON_NAME. Included in every Oracle edition without a GoldenGate license.

Trade-offs: Requires ARCHIVELOG mode, Database + Table Primary Key Supplemental Logging, and CDB/catalog privileges (LOGMINING, SELECT_CATALOG_ROLE, SELECT ANY TRANSACTION). Out-of-line LOBs and Exadata Hybrid Columnar Compression (HCC) updates require PK/ROWID fallback reads.

Performance & licensing: Sub-second to low-second latency with zero extra Oracle license cost. To eliminate PGA/CPU overhead on the primary OLTP instance entirely, point capture-oracle at shipped archive logs on an Active Data Guard standby.

Ownership: You operate capture-oracle (mode: logminer) · Oracle manages Online/Archived Redo Logs, DBMS_LOGMNR, Supplemental Logging.

Recommended DefaultDBMS_LOGMNRNo GoldenGate LicenseRAC Multi-ThreadCDB/PDB Ready
02. Flashback Version Query & Flashback Data Archive (FDA)
capture-oraclemode: flashback

Polls bounded SCN intervals using Oracle's native SELECT ... VERSIONS BETWEEN SCN :low AND :high pseudocolumns (VERSIONS_STARTSCN, VERSIONS_OPERATION, VERSIONS_XID), ordered by commit SCN and partitioned across parallel split_count readers via ORA_HASH.

Architecture diagram: Oracle Undo tablespace or Flashback Data Archive queried via VERSIONS BETWEEN SCN with Exadata Smart Scan cell offload by capture-oracle (mode: flashback)

Pros: Uses 100% standard SQL with zero CDB$ROOT access, zero DBMS_LOGMNR privileges, and zero supplemental logging requirements—ideal for locked-down PDBs, Amazon RDS for Oracle, and Active Data Guard read-only standbys. Transparently decompresses Exadata Hybrid Columnar Compression (HCC) rows and offloads scans to Exadata storage cells.

Trade-offs: If capture-oracle is stopped longer than UNDO_RETENTION (on tables without a Flashback Data Archive), Oracle raises ORA-01555 (snapshot too old) and requires an automatic resnapshot. Attaching a FLASHBACK ARCHIVE (FDA) removes the undo window limit and retains history for days or years.

Performance & licensing: Flashback Data Archive (formerly Total Recall) is included at no extra license cost in Oracle 19c, 21c, and 23ai. On Exadata, VERSIONS BETWEEN SCN predicates push down to storage cells over RDMA.

Ownership: You operate capture-oracle (mode: flashback) · Oracle manages Undo Tablespace or Flashback Data Archive (FDA).

Best for Exadata HCCActive Data Guard Read-OnlyPDB-Local Grants OnlyORA_HASH Parallel Splits
03. Audit Trigger Table + RAC ORDER Sequence
capture-oraclemode: trigger

Automatically provisions a global monotonic sequence (_AE_CHANGES_SEQ with CACHE 1000 ORDER for Oracle RAC), an audit queue table (_AE_CHANGES), and per-table AFTER INSERT OR UPDATE OR DELETE triggers that record primary keys and row JSON inside the application transaction.

Architecture diagram: Oracle AFTER INSERT OR UPDATE OR DELETE triggers writing JSON payloads with a RAC CACHE 1000 ORDER sequence into _AE_CHANGES, polled and purged by capture-oracle (mode: trigger)

Pros: Works on any Oracle edition—including Standard Edition 2 without ARCHIVELOG mode, restricted schemas without catalog roles, and tables with complex LOB or user-defined types. Captures inserts, updates, and deletes transactionally.

Trade-offs: Adds synchronous write amplification (one INSERT into _AE_CHANGES per changed row) inside the application's transaction and requires CREATE TABLE, CREATE SEQUENCE, and CREATE TRIGGER privileges when auto_create: true.

Performance & licensing: Fast indexed polls (WHERE SEQ > :1 ORDER BY SEQ ASC) followed by batch DELETEs of confirmed sequence ranges. Best for low-to-moderate write rates (<5,000 DML/s) where redo log mining or Flashback is unavailable.

Ownership: You operate capture-oracle (mode: trigger) · Oracle manages _AE_CHANGES table, CACHE 1000 ORDER sequence, row triggers.

Works Without ARCHIVELOGRAC ORDER SequenceFull LOB SupportAuto-Provisioned DDL
04. High-Watermark Column & ORA_ROWSCN Polling
capture-oraclemode: polling

Executes read-only incremental queries (WHERE TO_CHAR(<watermark_column>) > :1 ORDER BY <watermark_column> ASC FETCH FIRST :n ROWS ONLY) using either an application timestamp/sequence column (UPDATED_AT) or Oracle's native ORA_ROWSCN pseudocolumn.

Architecture diagram: capture-oracle (mode: polling) running read-only incremental SELECT queries over UPDATED_AT or ORA_ROWSCN with ORA_HASH split filtering

Pros: Requires only SELECT privilege on captured tables or read-only views—zero redo access, zero undo dependency, zero triggers, and zero DBA intervention. Supports parallel split_count readers via ORA_HASH.

Trade-offs: Cannot detect hard DELETE statements unless deletes are modeled as soft-delete status updates in the table. Using ORA_ROWSCN accurately at row level requires tables created with ROWDEPENDENCIES (otherwise ORA_ROWSCN tracks block-level SCNs).

Performance & licensing: Predictable, lightweight read queries that run cleanly against read-only standbys, reporting replicas, or third-party ERP schemas.

Ownership: You operate capture-oracle (mode: polling) · Oracle manages Indexed watermark column or ROWDEPENDENCIES ORA_ROWSCN.

Read-Only ViewsZero DBA GrantsORA_ROWSCNORA_HASH Parallel Splits

Single-Instance vs. Oracle RAC vs. Exadata

How redo logs, System Change Numbers (SCNs), compression units, and parallel snapshots behave across Oracle deployment topologies—and how capture-oracle handles each one.

Single-Instance (Standalone, CDB/PDB & Active Data Guard)
Single Redo Thread · CDB/PDB

A single database instance (19c, 21c, or 23ai) writing to one redo thread, deployed standalone, inside a Multitenant Container Database (CDB$ROOT + PDBs), or paired with an Active Data Guard physical standby.

Redo & SCN ordering: Single monotonic SCN timeline and single redo stream. In Multitenant CDB/PDB environments, redo logs belong to CDB$ROOT while tables live in a PDB; setting settings.pdb_name filters V$LOGMNR_CONTENTS by SRC_CON_NAME.

Initial snapshots & parallelism: Runs SELECT ... FROM "SCHEMA"."TABLE" AS OF SCN :scn with composite keyset pagination so the initial load is consistent with the exact SCN where streaming begins.

Operational guidance: To keep zero CDC load on the primary OLTP instance, run capture-oracle (mode: flashback or polling) against an Active Data Guard read-only standby, or mine shipped archive logs on the standby.

Recommended mode: mode: logminer (general OLTP) or mode: flashback (PDB-only credentials / Active Data Guard standby)

Oracle 19c / 21c / 23aiMultitenant CDB/PDBActive Data GuardAmazon RDS for Oracle
Clusters (Oracle RAC — Real Application Clusters)
Multi-Node Shared Storage · THREAD# 1..N

Multiple active compute instances mounting the same shared ASM database, each writing to its own redo thread while coordinating block locks and global SCNs over the cluster interconnect.

Redo & SCN ordering: LogMiner automatically merges redo logs from every active and archived RAC thread and sorts committed changes globally by (COMMIT_SCN, SCN, RBA_SEQ, RS_ID, SSN). In trigger mode, Aestus creates the sequence with CACHE 1000 ORDER for strict cross-node ordering.

Initial snapshots & parallelism: Uses V$DATABASE.CURRENT_SCN for cluster-wide flashback consistency and scales horizontally across RAC nodes via split_count: N using deterministic ORA_HASH partitioning.

Operational guidance: Connect through the RAC SCAN listener in source.host and list node VIPs in source.hosts for transparent failover if an instance restarts.

Recommended mode: mode: logminer via RAC SCAN listener, with split_count: N for parallel initial snapshots

Multi-Thread Redo MergeSCAN Listener & VIP FailoverCACHE 1000 ORDER SequenceORA_HASH Split Readers
Oracle Exadata (Smart Scan & Hybrid Columnar Compression)
RDMA Storage Cells · HCC Compression

Engineered RAC compute nodes connected over RDMA to intelligent Exadata Storage Servers offering Smart Scan offloading, Storage Indexes, and Hybrid Columnar Compression (HCC).

Redo & SCN ordering: When rows in an HCC-compressed table are updated, Oracle migrates the row out of the Compression Unit (changing its ROWID) and LogMiner redo records may emit OPERATION = 'UNSUPPORTED' or partial column values. capture-oracle detects this automatically and fetches the decompressed current row by Primary Key or ROWID.

Initial snapshots & parallelism: AS OF SCN initial loads and ORA_HASH split predicates push straight down to Exadata storage cells via Smart Scan, streaming multi-GB/s without polluting database node buffer caches.

Operational guidance: For tables using Exadata HCC, mode: flashback with a Flashback Data Archive (FDA) is often superior to LogMiner because Exadata storage cells decompress HCC blocks natively in SQL.

Recommended mode: mode: flashback (with FDA on HCC tables) or mode: logminer (with automatic PK/ROWID fallback)

Exadata Smart ScanHybrid Columnar Compression (HCC)Flashback Data ArchiveROWID Migration Safe

Why Not GoldenGate, XStream, or MView Logs?

How Aestus avoids the licensing traps, native C library lock-in, and hot-block contention of legacy Oracle replication tools.

Why Not Oracle GoldenGate or XStream Out?

XStream Out and GoldenGate capture redo at high speed, but both require an Oracle GoldenGate license (~$17,500+/processor core) and XStream requires linking the proprietary C/C++ OCI Instant Client. Aestus's pure-Go capture-oracle requires neither.

Why Not Materialized View Logs (MLOG$_)?

Oracle Materialized View Logs are synchronous internal triggers that write to MLOG$_<TABLE>. Under concurrent OLTP or Oracle RAC workloads, MLOG$_ tables suffer severe hot-block contention and break when multiple consumers purge the same log.

Why Pure Go Instead of CGo OCI?

Every Aestus agent compiles to a static, distroless container image. Speaking Oracle Net (TNS :1521) natively in Go eliminates 200+ MB Oracle Instant Client RPMs, shared-library issues, and glibc CVEs.

How It Stays Correct & License-Safe

Cross-cutting guarantees shared by every capture mode in capture-oracle.

Confirm-Before-Advance SCN Checkpoints

capture-oracle advances its persisted SCN or sequence checkpoint only after the message broker confirms every message in the batch.

Flashback-Consistent AS OF SCN Snapshots

Initial loads query SELECT ... AS OF SCN :scn with composite primary-key keyset pagination, handing over to live streaming without missing or duplicating a single change.

Primary-Key Changes & Delete Group-Key Cache

Updates that modify a primary key automatically emit a delete for the old key plus an update for the new key. Embedded SQLite keys.db caches pk -> group_key so deletes always route to the right partition.

Point-Read Recapture & Dual Output Formats

Serves on-demand recapture requests by primary key and supports both direct relational RowSets (output_format: rows, default) and Extended JSON documents (output_format: doc).

Explore All Sources & Targets

Want to discuss your Oracle replication or lakehouse offloading architecture? Write to [email protected].