Tested cutover playbooks with yb-voyager
YugabyteDB Migration Services
In short: A YugabyteDB migration moves PostgreSQL onto distributed SQL with the yb-voyager toolkit: assessment, schema export, bulk import, and live CDC replication, then a cutover gated on replication lag, with an optional fall-back to the source. Oracle and MySQL move without Voyager, because Yugabyte ended Voyager support for both on 13 October 2026. The work can also cover Cassandra to YCQL consolidation, multi-region tablespace rollout, and YugabyteDB Aeon onboarding.
PostgreSQL → YugabyteDB via yb-voyager with replication-lag-monitored cutovers and rollback gates, Oracle or MySQL → YugabyteDB with a hand-converted schema and COPY FROM loads, Cassandra → YCQL consolidation, self-managed → YugabyteDB Aeon, and multi-region tablespace rollout. See YugabyteDB consulting for architecture decisions, or the CockroachDB vs YugabyteDB comparison for the side-by-side.
JusDB plans YugabyteDB migrations from PostgreSQL with the official yb-voyager migration engine, and from Oracle, MySQL, or Cassandra without it. The cutover window is planned and rehearsed, and JusDB does not promise one cutover duration. For PostgreSQL sources, JusDB DBREs run Voyager's schema export, parallel data import, and live CDC replication with fall-forward or fall-back, then compare row counts and checksums before cutover.
Sound familiar?
- ▸ Postgres → YugabyteDB — yb-voyager assessment ran but the team needs an honest scoping of the manual-rewrite portion before committing to a timeline.
- ▸ Cassandra + Postgres consolidation via YCQL+YSQL is appealing, but the LWT semantic gaps need validation before approving.
- ▸ YugabyteDB Aeon vs self-managed: finance wants a defensible TCO comparison before signing the renewal.
JusDB YugabyteDB migration team delivers tested cutover runbooks with yb-voyager gates. Request a YugabyteDB migration scoping call →
YugabyteDB migrations we handle
Each path has a tested runbook with a defined rollback procedure. PostgreSQL moves add a yb-voyager-driven cutover gated on replication lag.
PostgreSQL → YugabyteDB
yb-voyager-driven migration with assess + export + import + live CDC. YSQL's actual-Postgres-query-layer reuse makes this cleaner than CockroachDB alternatives.
Oracle or MySQL → YugabyteDB
Yugabyte ended Voyager support for Oracle and MySQL sources on 13 October 2026. We convert the schema and stored code to YSQL by hand, then load CSV exports with COPY FROM, the manual import path in Yugabyte's docs.
Cassandra → YCQL Consolidation
Cassandra workload consolidation to YugabyteDB's wide-column YCQL API. Compatibility audit + LWT semantic validation + cutover.
Multi-Region Rollout
Tablespace + replica placement policy design for data-residency requirements. Per-table rollout sequence with latency validation.
Self-Managed → YugabyteDB Aeon
Aeon Dedicated cluster onboarding. Multi-cloud flexibility. Configuration migration + cutover sequence.
Version Upgrades
Cross-major YugabyteDB upgrades with rolling node deployment, compatibility validation, online schema-change behaviour testing.
How JusDB DBRE Migration compares to alternative paths.
Unvalidated YugabyteDB migrations risk unsupported schema object failures, CDC streaming lag overflow, and single-tablet ingestion write stalls. Here is how our DBRE methodology compares across core evaluation vectors:
| Evaluation Vector | JusDB DBRE | In-House DBA | Legacy Agency | Developer Generalist |
|---|---|---|---|---|
| Schema Translation to YSQL | Exports PostgreSQL DDL with yb-voyager and converts Oracle or MySQL schemas by hand (Voyager support for those sources ended on 13 October 2026), then refactors what YSQL does not support, such as exclusion constraints, some GiST indexes, and unsupported extensions. | Runs raw pg_dump DDL scripts directly against YSQL; hits syntax errors on unsupported extensions, sequences, and uncollocated foreign key constraints. | Manually edits DDL scripts without assessing distributed SQL execution plans, introducing single-tablet bottlenecks and unindexed join keys. | Drops foreign keys, constraints, and triggers entirely to force schema imports, destroying relational data integrity. |
| yb-voyager Parallel Historical Data Streaming | Tunes yb-voyager parallel worker threads, batch row sizes, and table pre-splitting to maximize bulk COPY ingestion bandwidth across all YB-TServers without saturation. | Runs yb-voyager import data with single-threaded or default parameters, causing multi-day data loads and write buffer exhaustion. | Uses generic ETL tools or standard JDBC batch inserts that fail to bypass query coordinator overhead and choke on network roundtrips. | Executes sequential client-side CSV imports; crashes on transient network disconnects without checkpointing or restart capability. |
| Dual-Direction CDC Synchronization & Fallback | Runs yb-voyager live migration from PostgreSQL, with Debezium reading the source changes and fall-forward or fall-back set up, so the team can switch back to the source if the cutover goes wrong. | Relies on one-way asynchronous replication without reverse sync, making rollback impossible without catastrophic data loss once cutover begins. | Schedules periodic delta queries against updated_at timestamp columns, missing deleted records and creating severe replication lag. | Attempts dual-writing from application services without distributed transaction coordinators, causing split-brain divergence and silent write drops. |
| Distributed Indexing & Partitioning Adaptation | Redesigns primary keys with optimal HASH vs ASC/DESC RANGE sharding, replaces global indexes with covering/partial indexes, and isolates hot tables into dedicated tablespaces. | Retains standard B-tree range primary keys across all tables, concentrating all sequential write traffic onto a single tablet server. | Creates excessive secondary indexes across large distributed tables, multiplying distributed two-phase commit overhead on write operations. | Omits primary and distribution keys, leading to full cluster scans and unmanageable tablet metadata proliferation. |
| Row Counts, Checksums & Numerical Parity | Compares row counts and per-table checksums, checks floating-point precision, nulls, encodings, and time zones, and records the results before cutover. | Performs basic row count queries (SELECT count(*)), failing to detect silent column truncation, character encoding shifts, or timezone drifts. | Manually spot-checks a handful of sample rows in a GUI client, completely missing corrupted historical records and schema mismatches. | Skips data validation entirely and assumes the migration succeeded if the application boots without immediate fatal errors. |
| Low-Downtime Application Cutover Orchestration | Coordinates phased read/write connection switches, Smart Driver connection pooling, and rehearsed DNS/VIP shifts, with initial-response targets set by your agreement. | Schedules lengthy weekend maintenance downtime windows; risks prolonged outages if unexpected transaction latency occurs. | Performs manual connection string updates across scattered microservices, causing half-migrated states and concurrent writes to both engines. | Hardcodes new database endpoints without connection pooling or retry mechanisms, triggering connection storms that overwhelm YB-TServers. |
Critical YugabyteDB Migration Risks We Eliminate
Distributed SQL migration cutovers face unique operational risks when unsupported extensions halt schema import, streaming CDC queues overflow, or tablet write stalls freeze historical ingestion. We engineer resilience into every cutover phase to eliminate these failure modes:
Unsupported Extension or Constraint Halting YSQL Import
PostgreSQL schemas that use extensions YugabyteDB does not support, exclusion constraints, or GiST indexes error out during yb-voyager import schema, which by default stops at the first error.
JusDB runs yb-voyager assess-migration first, then reworks each flagged object before import schema, for example replacing an exclusion constraint with a trigger and an index, the workaround Yugabyte documents.
CDC Streaming Lag Holding WAL in the Source Replication Slot
During live migration, yb-voyager streams changes through Debezium from a replication slot on the source PostgreSQL database. If the change export falls behind high-frequency writes, or stops without a cutover or end migration step, the slot keeps WAL on the source and can fill its disk. A growing import backlog delays the cutover, which waits for the import to catch up.
JusDB alerts on source disk use and replication slot lag, watches the Remaining events metric in import data, and runs the cutover or end migration step promptly, because either step deletes the replication slot.
Tablet Sizing Contention Stalling Bulk Ingestion
Streaming multi-terabyte datasets into range-sharded tables, which start as a single tablet unless split at creation, causes write amplification and severe thread contention on a single YB-TServer. Uncompacted SSTables trigger RocksDB flush stalls, and ingestion throughput drops sharply.
JusDB pre-splits target YSQL tables based on cluster CPU capacity and key cardinalities, tunes yb-voyager parallel worker counts, and temporarily raises DocDB write buffer limits during historical backfill phases.
Our DBREs execute non-blocking diagnostic commands to inspect real-time migration stream progress, tablet backfill rates, and cryptographic checksum parity:
Reports yb-voyager progress per table: import status, rows or bytes imported, and percentage completion in an offline migration, and rows and change events exported and imported in a live migration.
# 1. Offline migration: per-table import status, rows or bytes imported, and percentage completion yb-voyager import data status --export-dir /var/yb-migration/export # 2. Live migration: per-table rows and change events (inserts, updates, deletes) exported and imported yb-voyager get data-migration-report --export-dir /var/yb-migration/export
Compares row counts, a deterministic MD5 hash of the ordered key list, and column totals on source and target tables before cutting over traffic.
-- 1. Verify exact row counts and an MD5 hash of the id list, ordered so source and target match SELECT count(*), md5(string_agg(id::text, ',' ORDER BY id)) FROM orders; -- 2. Audit financial ledger totals and non-null column distributions SELECT count(*), sum(balance), count(updated_at) FROM customer_accounts;
YugabyteDB migration — common questions
Ready to plan the YugabyteDB migration?
Book a 30-minute scoping call. We will review source topology, design the cutover sequence, and propose the engagement shape.
Related YugabyteDB Services
Explore more ways our YugabyteDB experts can help with your database infrastructure.