top of page

Data Guard or GoldenGate for a Cloud Migration: How to Decide

OmerNarman
Jul 26
2 min read

Updated: Oct 24

Data Guard and GoldenGate are both Oracle tools, and both can move a database into the cloud. Teams often treat them as alternatives. They are not: they solve different problems, and the migration you are planning usually makes the choice for you once you ask the right questions.


Data Guard: a physical copy you switch to

Data Guard keeps a block-for-block copy of the primary database, applying redo as it arrives. For a migration, you build the standby in the target cloud, let it catch up, and switch over. The outage is the switchover itself, typically minutes, and the old primary becomes your standby, which means the way back is a second switchover.

  • Needs the same platform family on both sides, the same major version and compatible patch levels.

  • Moves everything exactly as it is: no filtering, no transformation, no partial moves.

  • Simple to validate, because the copy is physically identical.

  • Ships with Enterprise Edition; Active Data Guard is a separately licensed option.


GoldenGate: a logical stream you can shape

GoldenGate captures committed changes from the source transaction logs and applies them to the target as SQL. Because it works at the logical level, the target can be a different version, a different platform, a different endianness, or even a different database engine. The two databases run side by side until you cut over, and replication can run in reverse afterwards.

  • Near-zero downtime, with a cutover you can phase application by application.

  • Crosses versions and platforms, and can filter or transform data on the way.

  • Needs an initial load, careful handling of DDL and a few data types, and a validation step to prove both sides match.

  • Licensed separately and more complex to operate.


The decision table

Your situation

Use

Same platform and version; minutes of downtime are acceptable

Data Guard

Different major version, platform or endianness

GoldenGate

Zero downtime, or a phased cutover across applications

GoldenGate

The simplest possible fallback after cutover

Data Guard: switch back

Moving only some schemas, or transforming data on the way

GoldenGate

Moving to Oracle Cloud with Oracle's own orchestration

Zero Downtime Migration, which drives either

Changing the database engine

GoldenGate, with schema and code conversion


Using both

A common pattern is to use Data Guard for the move when the platforms match, then GoldenGate later for the version upgrade or the engine change that the business wants next. Choosing the simpler tool for the first step keeps the migration short and leaves the complex one for the project that actually needs it.


What to decide first

  1. Does the target match the source platform family and major version? If not, Data Guard is out.

  2. How long can the cutover take? Minutes points to Data Guard; seconds or a phased cutover points to GoldenGate.

  3. Do you need to filter, transform or partially move data? Only GoldenGate can.

  4. What is the fallback plan, and how long must it stay available?


Soro Consulting designs and runs Oracle migrations to OCI, AWS, Azure and Google Cloud using both tools. Book a consultation to decide which fits your move.

Recent Posts

See All

Comments


bottom of page