molt-replicator

Automate CDC replication setup from PostgreSQL, MySQL, and Oracle sources to CockroachDB.

18|8|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/cockroachlabs/cockroachdb-skills --skill molt-replicator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: molt-replicator
Source: https://github.com/cockroachlabs/cockroachdb-skills/tree/main/skills/onboarding-and-migrations/molt-replicator
Command: npx skills add https://github.com/cockroachlabs/cockroachdb-skills --skill molt-replicator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Continuous change-data-capture (CDC) replication from source databases to CockroachDB after an initial molt fetch.

Core Features & Use Cases

  • Post-Initial Load: Start and monitor the replicator, perform preflight checks, and handle cutover workflow.
  • Source Coverage: PostgreSQL (pglogical), MySQL (mylogical), Oracle (LogMiner) as well as other sources via the replicator utility.
  • Use Case: Use when you need to keep CockroachDB in sync with OLTP sources with low-latency updates and reliable recovery after outages.

Quick Start

Configure the molt replicator to start CDC replication after the initial molt fetch completes.

Frequently Asked Questions about molt-replicator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up CDC replication to CockroachDB after an initial data load?

To set up CDC replication to CockroachDB, you configure the replicator utility with precise flags for source and target connections, manage publication and slots, and run preflight checks before starting continuous data sync from your OLTP sources.

Does CockroachDB CDC replication work with PostgreSQL, MySQL, and Oracle sources?

CockroachDB CDC replication supports PostgreSQL via pglogical, MySQL via mylogical, and Oracle via LogMiner, using the replicator utility to maintain low-latency updates and reliable recovery after outages across these source databases.

What is the cutover workflow in change-data-capture replication?

The cutover workflow in change-data-capture replication is the managed process of finalizing continuous data sync from your source databases to CockroachDB, allowing you to safely transition application traffic to the target database.

How do I configure SSL and metrics for database CDC replication?

You configure SSL and metrics for database CDC replication by applying specific subcommands and precise flags during replicator setup, ensuring secure target connections and monitoring capabilities for your ongoing change-data-capture process.

When do I need to manage publication and slot management for replication?

You need publication and slot management for replication when setting up continuous change-data-capture from PostgreSQL, MySQL, or Oracle sources to CockroachDB, ensuring the replicator utility maintains consistent data sync and handles error recovery.

Why is staging configuration necessary before starting CDC replication?

Staging configuration is necessary before starting CDC replication to validate your source and target connections, apply SSL settings, and run preflight checks, ensuring the change-data-capture process initiates without errors and maintains low-latency updates.