GoldenGate vs Data Pump: When to Use Which for Oracle Migration | ExaGuru
Migration Method Selection · Blog 2 of 10

GoldenGate vs Data Pump: When to Use Which for Oracle Migration

Two teams migrate similar 2 TB databases. One uses Data Pump and takes an 8-hour outage window. The other uses GoldenGate and cuts over in under 5 minutes. Same database, opposite tradeoffs - and neither team is wrong.

Series: Migration Engineering
Read: ~12 min
Audience: DBAs, Architects
Level: Intermediate

01 · The Outage-Window Tradeoff

Every logical migration decision comes down to one question: how much downtime can the business tolerate? Data Pump exports and imports a full logical copy - simple, reliable, but the source is effectively frozen during the transfer. GoldenGate replicates changes continuously, letting the source stay live until the final, near-instant cutover.

Data Pump · 8-hour window

Full export/import cycle; application stopped for the duration.

GoldenGate · under 5 min cutover

Continuous replication catches up in real time; only the final switchover is brief.

Q: When should I use Oracle Data Pump instead of GoldenGate?
A: Data Pump fits schema-only or small-to-medium database migrations where an outage window of a few hours is acceptable and continuous replication is not required.


02 · Logical Offline vs Logical Online

Both tools fall under "logical migration" - they move data via SQL-level operations rather than raw block copies - but they sit on opposite sides of the offline/online divide.

The bars are drawn to relative scale on purpose, because the difference is not marginal – it's close to two orders of magnitude. That gap exists because Data Pump's outage window scales with the size of the database being exported, while GoldenGate's outage window scales only with how long it takes to redirect application connections, since replication has already been running in the background the entire time. If your database keeps growing, a Data Pump window keeps growing with it; a GoldenGate cutover generally does not.

OUTAGE WINDOW COMPARISONData Pump ~8 hoursGoldenGate ~5 minutes

Figure 2 · Outage window, drawn to relative scale

  • Data Pump (Logical Offline): A point-in-time export followed by import. The source can keep running, but any changes made after the export starts are lost unless a second incremental pass is scripted.
  • GoldenGate (Logical Online): An Extract process mines the source redo/transaction logs continuously, and a Replicat process applies changes to the target in near real time, keeping both databases in sync until cutover.

It's worth being precise about what these two tools actually share, because the overlap is easy to overstate. Both operate at the logical, row-and-column level rather than the physical block level, which is why either one can remap schemas, filter objects, and move data between different Oracle versions or even different character sets. Where they diverge completely is time: Data Pump captures a single instant and replays it once, while GoldenGate captures a continuous stream of change and keeps replaying it until you tell it to stop.

WHERE THE TWO OVERLAP Data PumpPoint-in-timesnapshot,GoldenGateContinuouscapture, sourceBoth arelogical,SQL-level

Figure 3 · Same migration category, fundamentally different relationship with time


03 · How GoldenGate Replication Works

The Extract process reads committed transactions from the source's redo stream and writes them to compact trail files. A Data Pump process (GoldenGate's own, distinct from Oracle Data Pump the migration tool) ships trail files to the target, where Replicat applies them, typically within seconds of the original commit.

The Extract process reads committed transactions from the source's redo stream and writes them to compact trail files. A Data Pump process (GoldenGate's own, distinct from Oracle Data Pump the migration tool) ships trail files to the target, where Replicat applies them, typically within seconds of the original commit. Source and target stay fully decoupled by this transport layer - slow network throughput delays replication lag, but it never blocks Extract from continuing to read the source's redo stream, which is exactly what lets GoldenGate keep the source fully live throughout.

GOLDENGATE REPLICATION SPLIT SourceRedo Extract Process Local TrailFiles GG Data Pump(network) Replicat →Target

Figure 4 · One redo stream splits into the four stages of the GoldenGate pipeline


04 · GoldenGate vs Data Pump

Dimension Data Pump Oracle GoldenGate
Downtime Hours (full export/import) Minutes (cutover only)
Licensing Included with database Separately licensed
Complexity Low - single command pair Higher - Extract/Replicat tuning
Best Fit Small/medium DBs, schema moves Large, mission-critical, near-zero downtime
DDL Handling Captured at export time Requires DDL replication support enabled

05 · Selection Best Practices

  1. Match Tool to ToleranceIf the business can accept a maintenance window, Data Pump is simpler and license-free.
  2. Size the Trail File StorageGoldenGate trail files need adequate staging disk on both source and target during long-running syncs.
  3. Validate Supplemental LoggingGoldenGate Extract requires supplemental logging enabled on key columns before capture starts.
  4. Plan the Cutover Checklist SeparatelyEven with GoldenGate, application connection cutover needs its own tested runbook.

06 · Technical FAQs

Does GoldenGate require a license?

Yes, Oracle GoldenGate is a separately licensed product, unlike Data Pump which ships with the database.

Can GoldenGate handle DDL replication?

Yes, with DDL support enabled and proper trigger-based capture configured on supported database versions.

Can I use both tools in the same migration?

Yes - a common pattern uses Data Pump for the bulk initial load and GoldenGate for change capture from that point forward, minimizing both load time and downtime.

What happens to GoldenGate replication after cutover?

Replicat is stopped once the application points to the new target and the DBA confirms no further source-side writes are expected.


The Method Is the Migration

Neither tool is universally better. Data Pump wins on simplicity and cost when a window is acceptable; GoldenGate wins on downtime when it isn't. ExaGuru's DB Migration course covers configuring, tuning, and cutting over with both.

The right migration tool is the one that matches your outage budget - not the one with the most features.

At ExaGuru, our Oracle Database Migration Masterclass covers ZDM, GoldenGate, XTTS, RMAN and OCI DMS migration patterns end to end.

ExaGuru - Oracle Cloud Training & Consulting
Exadata · ExaCC/ExaCS · OCI · Oracle DB Migration · Fusion ERP/HCM
Contact Us: +91-6394049607 · +91-9161111705
© 2026 ExaGuru. All rights reserved.
ExaGuru Job Portal