CockroachDB Migrations

Migrate Once. Scale Forever.

Escaping Oracle licensing costs, outgrowing Postgres, or modernizing from MySQL? CockroachDB’s migration path accelerates your goals with minimal risk, minimal downtime, and a toolkit built for the job.

hero graphic

From Oracle, Postgres, MySQL, and SQL Server.

100s of migrations completed

Under real-world conditions over legacy relational databases.

5x less downtime

Scales to meet your workload needs.

300-node cluster support

Brittle to Bulletproof

Legacy databases weren't built for the demands of modern applications, and the gap between what your database can do and what your business needs is widening every quarter. A migration to CockroachDB is a strategic investment that cuts costs, eliminates downtime risk, and gives your team the infrastructure to build what comes next without compromise.

Group 19335

Always-On

Stay operational through regional outages, node failures, and disk crashes with automatic failover and built-in 3x replication. CockroachDB’s distributed architecture removes single points of failure, so maintaining uptime is simple.

Group 19336

Unmatched Scale

Scale horizontally across nodes and regions without sharding, without rewrites, and without the manual heroics. Whether you're handling millions of transactions a day or need to expand globally overnight, CockroachDB grows with you.

Group 19338

Cloud-Native

Run on AWS, GCP, Azure, on-prem or in hybrid deployments, on our cloud or yours. No cloud lock-in, no compromises. CockroachDB is built for the multi-cloud, multi-region world your business operates in.

fanduel-image-migration
FanDuellogowhite

FanDuel reports migrating their ledger system from MySQL to CockroachDB was “actually super simple.” Since the move, operations have become easier, they can scale seamlessly with increasing traffic, and they’re confident their platform will remain always available to users.

They are one of hundreds of customers to successfully migrate to CockroachDB.

Graphic - diagram

Meet MOLT: CockroachDB’s Migration Toolkit

MOLT (Migrate Off Legacy Technology) is an end-to-end migration toolkit built specifically for CockroachDB. It integrates schema conversion, distributed data loading, continuous replication, and row-level validation into a flexible, configurable workflow. Designed to be observable, debuggable, and failure-resilient, MOLT enables scalable, restartable migrations for even the largest datasets.

Mask group

MOLT Convert

(Schema Conversion)

Turn your legacy schema into CockroachDB-compatible PostgreSQL automatically.

MOLT Convert parses your source schema and maps it to CockroachDB-compatible DDL. It identifies unimplemented features, rewrites unsupported syntax, applies CockroachDB schema best practices, and surfaces incompatibilities before they become blockers.

  • Supports PostgreSQL, MySQL, Oracle, and SQL Server

  • Summary Report with required fixes, compatibility notes, and suggestions

  • Available in CockroachDB Cloud Console

molt-fetch

MOLT Fetch

(Data Migration)

Move your data — at scale, with confidence, and with a safety net.

MOLT Fetch handles the heavy lifting of data migration. It exports concurrently from multiple tables and shards, stages data via cloud storage or direct copy, and includes a checkpoint so interrupted migrations pick up exactly where they left off.

  • Concurrent export from multiple source tables and shards

  • Data movement via AWS S3, GCP GCS, local file servers, or direct copy

  • Exception logging for full visibility into any errors

Mask group

MOLT Replicator

(Continuous Replication)

Keep your source database running while you migrate, then cut over when you're ready.

For teams that can't afford downtime, MOLT Replicator streams ongoing changes from your source database to CockroachDB in real time. After the initial bulk load, replication keeps both systems in sync. When you're ready to cut over, writes are paused only briefly (seconds to minutes, not hours).

And if you need to roll back? Failback support syncs changes from CockroachDB back to your original source so you can retry with zero data loss.

  • Minimal-downtime migrations with continuous CDC-based replication

  • Failback support for safe recovery

  • Supports PostgreSQL, MySQL, and Oracle sources

  • Available as a standalone CLI tool, downloadable binary, or Docker image

molt-verify

MOLT Verify

(Data Validation)

Know your migration is complete and accurate.

MOLT Verify connects to both your source and target databases and performs a systematic comparison between table structure, column definitions, and row-level data to confirm your migration is accurate before you cut over.

  • Validates billions of records systematically and efficiently

  • Flags schema drift, type conversion issues, and data discrepancies

  • Supports PostgreSQL, MySQL, and Oracle sources

  • Available as a standalone CLI tool, downloadable binary, or Docker image

Professional Services: Expertise You Can Rely On

Whether you want full control or a team to own the outcome, we have a migration service model built for you.

customers

Advisory

Includes a migration plan review and remote guidance from Cockroach Labs migration engineers throughout your cutover window. You own the execution and we make sure the plan is solid.


Best for: Teams that want to lead their own migration with expert guidance available when it matters.

Architect

Embedded

Includes a part-time embedded Enterprise Architect, scoped planning support, and structured office hours. You learn as you go with a dedicated expert by your side.


Best for: Teams that want expert support throughout the migration while building internal CockroachDB expertise.

Migrations

Enterprise

A fully-scoped, milestone-driven migration delivery with hands-on support from Cockroach Labs engineers. We handle everything from planning to cutover with clear accountability at every stage.


Best for: Teams that want Cockroach Labs to help own the outcome.

Migration Partners

Logos