When GoldenGate Capacity Isn’t the Real Problem

When a GoldenGate Capacity Problem Isn't Really a Capacity Problem

I recently worked through an interesting Oracle GoldenGate situation during a large enterprise migration from on-premises Oracle databases to OCI.

Names, system identifiers, and some implementation details have been changed, but the technical lessons are real.

The environment had grown to dozens of GoldenGate deployments supporting replication between legacy on-premises systems and OCI. As the migration expanded, the team began seeing very large trail-file storage consumption and concerns about whether additional CPU capacity was required for the GoldenGate infrastructure.

The natural reaction was to ask:

Do we need to scale the GoldenGate deployment?

But before adding CPUs, memory, or infrastructure, we started looking more closely at what GoldenGate was actually doing.

One of the first things that stood out was trail-file retention.

Some deployments had accumulated hundreds of gigabytes of trail files. The immediate assumption could easily have been that the replication workload itself was simply generating enormous volumes of data.

But trail-file size alone doesn't tell you that.

The more important questions are:

  • Are old trail files actually being purged?
  • Is PURGEOLDEXTRACTS configured appropriately?
  • Are checkpoints advancing normally?
  • Is Extract generating data faster than Replicat can consume it?
  • Is there genuine replication lag?
  • Are there abandoned or inactive processes still consuming storage?
  • Are we measuring CPU utilization before deciding that more OCPUs are necessary?

If automatic trail cleanup isn't configured correctly, adding CPU doesn't solve the underlying problem.

It just gives an improperly managed environment more resources.

Deployment Sprawl Adds Another Layer

The environment also illustrated another issue I've seen increasingly with infrastructure automation.

Automation is great.

But automation can also automate architectural decisions that should have been reviewed first.

In this case, GoldenGate deployments had multiplied as replication requirements were added. Infrastructure-as-code made creating new deployments easy, but over time the result was a fairly large collection of deployments with varying configurations, authentication states, processes, and operational requirements.

Some deployments contained active Extracts or Replicats.

Others contained little or no active processing.

That creates an important distinction:

Provisioning automation is not the same thing as lifecycle management.

A mature GoldenGate implementation needs both.

For every deployment, I want to be able to answer:

  1. What source and target does this deployment support?
  2. Which Extracts and Replicats belong to it?
  3. Who owns the parameter configuration?
  4. How are trail files purged?
  5. What is the expected retention period?
  6. What is the current replication lag?
  7. What is the normal CPU utilization?
  8. What alerts exist for abnormal conditions?
  9. Is the deployment still required?
  10. How will it eventually be decommissioned?

If those questions can't be answered easily, scaling the environment should probably not be the first action.

GoldenGate Parameters Still Matter

Cloud interfaces and managed GoldenGate services change how the product is administered, but the fundamentals haven't disappeared.

Extract behavior still matters.

Replicat behavior still matters.

Checkpoints still matter.

Trail-file management still matters.

Error handling still matters.

Sequence handling still matters.

And parameter management absolutely still matters.

During migrations, it is especially important to establish ownership of GoldenGate configuration changes. Application teams may understand the business requirements for the data, while DBAs understand replication mechanics and operational risks.

Both groups need to participate, but someone needs to own the final configuration.

Otherwise, GoldenGate can slowly become a collection of individually reasonable changes that collectively form a difficult environment to operate.

Bidirectional Replication Requires Even More Discipline

Another lesson involved database sequences.

When replication becomes bidirectional, blindly replicating sequence behavior can create problems. Sequence strategy has to be intentionally designed for the topology.

Depending on the architecture, that may involve excluding sequences from replication, allocating different ranges, using different increment strategies, or resetting sequences appropriately when environments are cloned or transitioned.

The important point is that GoldenGate replicating data successfully does not automatically mean the overall application architecture is safe for bidirectional operation.

Measure Before You Scale

The biggest takeaway from this experience is simple:

Don't use infrastructure scaling as the first response to a GoldenGate operational problem.

Before increasing CPU or storage, determine whether the environment actually has a capacity problem.

I would normally check:

Replication

  • Extract lag
  • Replicat lag
  • checkpoint progression
  • transaction throughput
  • rows processed

Infrastructure

  • CPU utilization
  • memory utilization
  • filesystem/storage utilization
  • network throughput

Trail management

  • trail generation rate
  • oldest trail file
  • total trail storage
  • checkpoint dependencies
  • purge configuration

Architecture

  • number of deployments
  • active vs inactive deployments
  • Extract/Replicat distribution
  • redundant or abandoned configurations

Only after those are understood does scaling become an informed decision.

The Broader Lesson

This wasn't really just a GoldenGate issue.

It's a common cloud-migration pattern.

Modern platforms make it incredibly easy to provision infrastructure.

That is valuable.

But the ability to create resources quickly can lead to environments where provisioning grows faster than operational governance.

The solution isn't less automation.

It's better automation.

Ideally, every GoldenGate deployment should be created with:

  • standardized parameter templates
  • automatic trail-file cleanup
  • monitoring
  • lag thresholds
  • storage thresholds
  • naming standards
  • ownership metadata
  • centralized inventory
  • configuration auditing
  • and a defined retirement process

That's where I think the real opportunity lies.

Instead of treating GoldenGate deployments as individual infrastructure objects, treat the entire replication estate as a managed system.

Provision it. Inventory it. Monitor it. Audit it. Clean it up. And only then decide whether it needs more horsepower.

#Oracle #GoldenGate #OCI #OracleDatabase #CloudMigration #DatabaseAdministration #Exadata #DevOps #Automation #DatabaseArchitecture

MRC Consulting LLC • info@it-remote.com • (864) 630-2118
Copyright 2026 MRC Consulting LLC
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram