Assessment and sizing
A read-only review of the source: schema, features in use, data size, write rate, and the queries that matter most.
- Incompatible features listed table by table
- TiDB, TiKV, PD, and TiFlash node counts proposed for the target
Free audit · one database instance · mutual NDA before read-only access · no obligation
View Audit Scopetidb_migration
Assessment
Gaps listed before data movesFull copy
Loaded into a cluster not yet in useReplication
Lag watched until it stays lowCutover
TiCDC back to MySQL kept readyNothing moves to production until the data check and the rollback feed are in place.
Selected clients








Migration paths
The source, the data size, and whether the target already serves traffic decide the tools. We confirm the path during the assessment, not after the first load.
Paths from the PingCAP data migration overview, checked 27 November 2026. The 1 TiB figure is PingCAP's example, not a hard limit.
Compatibility checks
TiDB speaks the MySQL protocol, but these gaps break migrations when they surface after the import. We list them in the assessment report.
What a TiDB migration covers
Scope, dates, and the tables in scope are set in a written proposal before work starts. Results depend on the workload; we baseline before and measure after each approved change.
A read-only review of the source: schema, features in use, data size, write rate, and the queries that matter most.
Primary keys, collations, and partitions reworked for TiDB before any data moves, so the import runs once.
The first load with DM, or with Dumpling and TiDB Lightning for larger sets, into a cluster that is not yet serving traffic.
DM keeps TiDB in step with the source from the binary log until the cutover, with lag and errors on alerts.
Row data compared with sync-diff-inspector while replication runs, and the top queries replayed against TiDB.
A written cutover plan, rehearsed on a copy, and a TiCDC changefeed back to MySQL so the old database stays current.
How the copy and the check run
Simplified versions of the files we write for each migration. Hosts, users, and table filters change per project; passwords are encrypted with dmctl and never stored in plain text.
01 · DM task: full copy, then binary log replication
# task.yaml
name: "orders-to-tidb"
task-mode: "all" # full copy, then incremental replication
target-database:
host: "tidb.internal"
port: 4000
user: "dm_writer"
password: "<encrypted with dmctl encrypt>"
mysql-instances:
- source-id: "mysql-primary"
block-allow-list: "orders-only"
block-allow-list:
orders-only:
do-dbs: ["orders"]
# tiup dmctl --master-addr dm-master:8261 check-task task.yaml
# tiup dmctl --master-addr dm-master:8261 start-task task.yaml
# tiup dmctl --master-addr dm-master:8261 query-status orders-to-tidb02 · Data check, then the rollback feed
# diff.toml for sync-diff-inspector check-thread-count = 4 export-fix-sql = true [data-sources.mysql1] host = "mysql-replica.internal" port = 3306 user = "diff_reader" [data-sources.tidb0] host = "tidb.internal" port = 4000 user = "diff_reader" [task] output-dir = "./diff-output" source-instances = ["mysql1"] target-instance = "tidb0" target-check-tables = ["orders.*"] # At cutover: replicate TiDB back to the old MySQL # tiup cdc cli changefeed create --server=http://ticdc:8300 \ # --sink-uri="mysql://cdc_writer:****@mysql-old:3306/" \ # --changefeed-id="rollback-to-mysql"
Cutover runbook
We rehearse the whole sequence on a copy first and record how long each step took. If a check fails, the runbook says who decides and how traffic returns to MySQL.
The application stops writing, or the source is set read-only, at the agreed time.
We confirm that DM has applied the last binary log position and that query-status shows no errors.
sync-diff-inspector runs on the tables you mark as critical and must report no differences.
We stop the DM task, then start a TiCDC changefeed from TiDB to the old MySQL before traffic moves, so the source stays current.
Connection strings, DNS, or the proxy move to TiDB, and we watch errors, latency, and hot Regions.
After the agreed observation period, you decide to keep TiDB or roll back. The old MySQL is retired only after that decision.
SLA response times and ownership
Incidents on the clusters in scope get the SLA response times below, during the migration and after it if you keep JusDB on for operations.
24/7 support. SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. Our engineering team is in India (IST, UTC+5:30) and provides 24/7 support.
Production database down, primary unreachable, data corruption risk, or active failover event.
Severe latency spike, replication lag climbing rapidly, connection exhaustion, or degraded HA node.
Non-critical slow query regression, staging issue, backup warning, configuration question, or planned operational request.
Response means an on-call engineer is working the incident, not an automated reply. Support is 24/7.
Ways to work with JusDB
A scoped migration project, a design review before you commit, or ongoing operation after the move. A monthly retainer for a set number of engineering hours, or a monthly fee per database instance, HA cluster, or region; projects are scoped and quoted separately.
Assessment, schema conversion, full copy, replication, validation, and a rehearsed cutover with a rollback path.
Workload fit, MySQL compatibility, HTAP design, and TiDB Cloud or self-managed, in a written recommendation.
JusDB engineers run the new cluster day to day: monitoring, backups, upgrades, and incidents.
Procurement and security
We sign a mutual NDA before viewing schemas, logs, slow-query captures, or cloud topology.
Engineers connect through your bastion, VPN, or SSM using named accounts with read-only permissions by default.
Production DDL, parameter changes, and failovers follow your change-management workflow with rollback steps prepared first.
Engagements are led by named senior database reliability engineers in India with direct Slack, Teams, and PagerDuty channels.
TiDB migration FAQ
Tools, compatibility gaps, data checks, and how a rollback works.
Still have a question?
Ask it on a scoping call. No production access needed.
Book a 30-min scoping call (opens Google Calendar in a new tab)Related TiDB services
Availability design, architecture reviews, day-to-day operation, and Kubernetes.
Raft replicas across zones, PD quorum, placement rules, and a TiCDC standby cluster.
Workload fit, MySQL compatibility, HTAP design, and TiDB Cloud decisions.
Day-to-day operation of the cluster once the migration is done.
TiDB Operator, storage, and rolling upgrades for a Kubernetes target.
The three layers, transactions, scaling, and which MySQL features work.
How JusDB plans migrations across every engine it supports.
Explore more ways our TiDB experts can help with your database infrastructure.
Plan the move to TiDB
A scoping call covers your source, data size, target platform, and dates. P1 response SLA: 15 mins, 24/7.