Oracle Publishes AI Workflow for a 5.1 Million-Record GoldenGate Reload

The lab shows how an AI agent can coordinate a difficult replication reset from a runbook, but missing MCP options still pushed key steps through direct APIs—and the server remains experimental.

By 3 min read
Oracle Publishes AI Workflow for a 5.1 Million-Record GoldenGate Reload
Oracle Publishes AI Workflow for a 5.1 Million-Record GoldenGate Reload

Listen to this story

The audio brief

About 1:46
0:001:46
Read transcript
Oracle has documented an AI-coordinated GoldenGate reset that reloaded about 5.1 million records into Autonomous Database, then restarted change data capture without losing continuity. Codex managed the operation from a Markdown runbook, using Oracle Database and GoldenGate MCP tools alongside GoldenGate REST APIs. The important detail is that this was controlled orchestration, not an open-ended prompt. The runbook specified prerequisites, sequencing, failure handling, evidence to collect, and points where a user had to authorize operational changes. The workflow first kept CDC capture running while the existing Replicat was stopped. It selected one shared SCN—a database change position—for both the starting snapshot and the later CDC restart. Four SOURCEISTABLE Extracts divided the initial copy into non-overlapping ranges, while four Parallel Replicats applied the data. But those phases were deliberately separate: extraction had to finish before apply began. Oracle then validated counts, errors, discards, checkpoints, and completion before removing temporary components. The test also showed where agent tooling stops. MCP did not expose every setting required, so creating the initial-load Extract and restarting the Replicat with AFTERCSN went through direct REST calls, with parameters and expected evidence spelled out in the runbook. Oracle says its GoldenGate MCP server is open source for prototyping, development, and testing—not a supported or certified feature. The key constraint is therefore clear: this is a working lab pattern, but not yet evidence of unattended production automation.

Story brief

3 key points

Oracle’s lab workflow shows Codex coordinating a 5.1 million-record GoldenGate reload to Autonomous Database while preserving CDC continuity through a shared SCN. The runbook enforced sequencing, environment inspection, validation, and user approval rather than relying on open-ended prompting. The test also exposed a significant automation boundary: MCP tools could not configure every required operation, so...

  1. 01

    Four SOURCEISTABLE Extracts and four Parallel Replicats handled the reload, but extraction and apply remained separate phases.

  2. 02

    A shared SCN connected the snapshot with CDC restart; continued capture required retained trail files.

  3. 03

    MCP lacked settings for key operations, requiring direct REST calls with explicit parameters and expected evidence.

Oracle has published a lab workflow in which Codex coordinated a difficult GoldenGate replication reset from a Markdown runbook, MCP tools and APIs. The Oracle-to-Oracle test completed a 5.1 million-record reload and restarted change data capture, but it also exposed a practical limit: the agent could not complete every required operation through MCP alone.

An initial load copies a starting snapshot of data to a target database. Re-instantiation then restarts change data capture, or CDC, so later changes are applied without breaking continuity. Oracle used Codex with Oracle Database MCP, GoldenGate MCP and GoldenGate REST APIs to coordinate that sequence in a test whose target was Autonomous Database.

The runbook is the operating boundary

The central artifact was not a free-form prompt. Oracle’s Markdown runbook defined prerequisites, the order of operations, conditions for proceeding, failure handling and execution records. It also required the agent to inspect the current environment for items such as tables, the snapshot position and temporary process names, rather than automatically reuse values from prior runs.

  • Keep CDC capture running while the existing CDC Replicat is stopped and its parameters and checkpoints are preserved.
  • Select one common SCN, Oracle’s database change position, for the snapshot and the later CDC restart.
  • Confirm the load before truncating target tables, then validate counts, errors, discards, checkpoints and apply completion.

Parallelism did not mean every stage ran together

Oracle split the snapshot work among four parallel Extracts with non-overlapping ranges. But the workflow kept extraction and apply as separate phases: all four Extracts had to finish before the parallel Replicats began. The shared SCN links the snapshot to the Replicat restart, while continued CDC depends on capture coverage and retained trail files.

MCP handled coordination, not every control

The test found that the available MCP tools did not expose all the settings needed for the procedure. Creating the initial-load Extract and restarting the Replicat with AFTERCSN required direct REST calls. Oracle put those interface choices, required parameters and expected evidence into the runbook so a generic command would not replace an operation with different semantics.

That division is also a guardrail. The agent was instructed to wait for user authorization before making operational changes, then present validation evidence and final replication status. Oracle describes its GoldenGate MCP server as an open-source project for prototyping, development and testing; it is not an Oracle-supported or certified product feature. The result is a working lab pattern, not evidence that the same workflow is ready for unattended production use.

Sources

  1. blogs.oracle.comAutomating Oracle GoldenGate with AI, MCP, and REST APIs

Loading discussion...

YOUR READING SPACE

Notifications

Oracle Publishes AI Workflow for a 5.1 Million-Record GoldenGate Reload | Superpower Daily