Free audit

View Audit Scope
TiDBRemote DBA, Kubernetes, and scoped projects

TiDB database services for production teams.

JusDB provides TiDB database services for scoped projects, ongoing remote DBA coverage, migrations from MySQL, HTAP design with TiFlash, and recovery planning. We work on TiDB Cloud, on Kubernetes with TiDB Operator, and on servers you run with TiUP. Support is 24/7.

Or request a free audit of one database instance. Already in an incident? See how incidents are handled.

  • NDA before access
  • Read-only by default
  • Changes measured against your baseline

TiDB version status

Pick the version you run

TiDB 8.5 LTS

Newest LTS

The newest long-term support (LTS) release, out since December 2024. Community Edition maintenance support runs to 19 December 2027.

Unlike earlier LTS lines, 8.5 patch releases can add features, so we read each one's notes before rollout.

Plan a TiDB upgrade

Version status from the TiDB release timeline and PingCAP's TiDB release support policy, checked 28 October 2026.

Platforms
TiDB Cloud, Kubernetes with TiDB Operator, and your own servers with TiUP
High availability
Raft replication of every Region, replicas spread across zones, and TiCDC to a standby cluster
Incidents
SLA response times: P1 – 15 mins | P2 – 30 mins | P3 – 60 mins. See the SLA

Symptoms

Eight TiDB problems we are asked to fix

Each one has a cause we can measure. The scoping call starts from the symptom you see and the version and platform you run.

  1. Reports and dashboards slow down transactions because their tables have no TiFlash replicas, so large scans run on the TiKV nodes that serve writes.

  2. A small, busy table slows reads on one TiKV node because the table fits in one Region, and by default reads go to its leader.

  3. A paused TiCDC changefeed slows the source cluster because it holds back garbage collection, so old row versions pile up until its gc-ttl (24 hours by default) expires and it fails.

  4. Stored procedures, triggers, and events block the move from MySQL because TiDB does not support them, so their logic must move into the application first.

  5. Foreign keys are declared but not enforced because keys created before v6.6.0 stay inactive after an upgrade, marked FOREIGN KEY INVALID.

  6. Query plans change after bulk loads or large deletes because statistics refresh automatically only after more than half of a table's rows change (tidb_auto_analyze_ratio is 0.5).

  7. The upgrade off 6.5 or 7.5 keeps slipping while 7.5 maintenance support ends on 1 December 2026 and 6.5 extended support on 29 December 2026.

  8. Point-in-time recovery has never been tested so nobody knows that a full-cluster PITR restore needs an empty cluster, or that TiDB Lightning physical imports skip log backup.

If one of these is costing your team time, a scoping call is the place to start.

Book a 30-min scoping call (opens Google Calendar in a new tab)

Hotspots

How an auto-increment key sends every write to one TiKV node

TiDB keeps each table in key order, split into Regions, and each Region takes writes through one Raft leader on one TiKV node. With an AUTO_INCREMENT primary key, every new row sorts last, so every insert lands in the last Region.

One busy table, three TiKV nodes, three outcomes

Choose a state to see where the inserts go.

Application and TiDB servers

Any TiDB server sends an insert to the leader of the Region that owns its key.

One Region keeps up
  • TiKV 1

    Leads the last Region

    Busy, keeping up

  • TiKV 2

    Follower copy of that Region

    Following

  • TiKV 3

    Follower copy of that Region

    Following

At a low insert rate, one leader keeps up, so the key design passes testing.

We review every primary key before data moves from MySQL. A BIGINT key that only has to be unique becomes AUTO_RANDOM. A table with a non-clustered key or none gets SHARD_ROW_ID_BITS before the import, since it only affects new rows. With either, PRE_SPLIT_REGIONS starts a new table with several Regions.

We alert when one TiKV node's Raftstore CPU runs well above the rest, and trace it to a table or index with the Key Visualizer and TIDB_HOT_REGIONS. Before a cutover, we replay the bulk load and peak insert rate on a copy, so a hotspot can surface in rehearsal.

What we cover

Full-spectrum TiDB engineering

From a hot Region to a low-downtime cutover: the slow query log, EXPLAIN ANALYZE, and TiDB Dashboard drive every change, measured against your baseline.

  • HTAP architecture design

    We choose which tables get TiFlash replicas, so large scans can run on separate columnar nodes instead of TiKV.

    • TiFlash replicas set per table
    • MPP and engine choice checked in plans
    • Resource groups that cap analytical load
  • TiKV and TiFlash optimization

    We tune how data splits into Regions, where PD places them, and how far TiFlash replicas fall behind.

    • Region size, splits, and merges
    • Hot Region and leader balance
    • Placement labels across zones
    TiDB high availability
  • Low-downtime migrations

    Moves from MySQL, Amazon RDS, or Aurora with a full copy, ongoing replication, and a rehearsed cutover.

    • TiDB Data Migration (DM) from the binary log
    • Data compared with sync-diff-inspector
    • TiCDC back to MySQL as a rollback path
    TiDB migration
  • Query and planner tuning

    We read execution plans with EXPLAIN ANALYZE, keep statistics current, and pin plans that must not change.

    • Slow query log and Top SQL
    • Statistics health from SHOW STATS_HEALTHY
    • Plan bindings with SQL plan management (SPM)
  • Auto-sharding and scaling

    PD spreads Regions across TiKV nodes on its own. We plan keys and capacity so that new nodes add throughput.

    • AUTO_RANDOM or SHARD_ROW_ID_BITS for busy tables
    • Scale-out with TiUP or TiDB Operator
    • TiKV, TiFlash, and PD capacity planning
    TiDB on Kubernetes
  • Disaster recovery and backup

    We set up Backup and Restore (BR) snapshots and log backup, and test point-in-time restores before you need them.

    • Backups to Amazon S3, GCS, or Azure Blob Storage
    • Restores rehearsed on an empty cluster
    • TiCDC replication to a standby cluster
    Backup and disaster recovery

Incident support

A critical (P1) page, answered within 15 mins

JusDB keeps your recovery procedures (runbooks) written down, so an incident starts from a known plan instead of a blank page.

SLA response times

P1 · Critical15 mins

Production database down, primary unreachable, data corruption risk, or active failover event.

P2 · High30 mins

Severe latency spike, replication lag climbing rapidly, connection exhaustion, or degraded HA node.

P3 · Medium60 mins

Non-critical slow query regression, staging issue, backup warning, configuration question, or planned operational request.

Our engineering team is in India (IST, UTC+5:30) and provides 24/7 support.

Response means an on-call engineer is working the incident, not an automated reply.

What happens on a P1 page

  1. Page

    You page the on-call engineer

    Through the escalation path your service agreement names.

  2. Triage

    Root cause from TiDB Dashboard, Grafana, and the slow query log

    Hot Regions, slow statements, lock waits, and PD scheduling traced to the table, query, or node behind them.

  3. Mitigate

    Stabilize first, from the runbook

    Split a hot Region, kill the runaway query, or move Raft leaders off a failing TiKV node, then fix the cause once production is steady.

  4. After

    A review after every P1

    What happened, why, and the change that stops it happening again.

Before and between incidents

  • Your setup, written down firstDuring onboarding we record your versions, topology, placement labels, TiFlash replicas, changefeeds, and backups, so incidents start with context.
  • One escalation path, in writingYour service agreement names how to reach the on-call engineer and which clusters are covered.
  • Reviews between incidentsWe review hot Regions, slow queries, capacity, TiCDC lag, and backups, then report open risks with next steps.
  • Version dates trackedWe track PingCAP's support dates for the TiDB versions you run and plan each upgrade before support ends.

Process

How a TiDB engagement runs, step by step

Written findings come before any change. Your team approves production changes, except routine actions you have pre-approved.

  1. Scoping call

    Your clusters, versions, platforms, and what you need covered.

  2. Read-only review under NDA

    Our engineers use named accounts with only the permissions the review needs. We read your topology, configuration, slow query log, TiDB Dashboard, Grafana, and Region distribution from PD.

  3. A written report before any change

    Each finding comes with the change we propose, how we will measure it, and a way to undo it (a rollback plan).

  4. Changes, then handover

    We rehearse risky changes on a copy, apply them in the windows you approve, measure them against the baseline, and hand over updated operating instructions (runbooks).

Ways to work

Choose the TiDB service your team needs

Start with the responsibility you need covered. Each engagement has its own scope, deliverables, access requirements, and acceptance criteria.

Where your TiDB runs, and the tools around it

Your team and ours

What a managed TiDB service still leaves to your team

Managed cloud databases automate much of the infrastructure layer, but your team still owns query performance, capacity, cost, and incident decisions.

Who handles each part of running TiDB on TiDB Cloud and on your own infrastructure
QuestionTiDB CloudYour own servers or Kubernetes
Backups and restoresAutomatic on every plan, and a restore creates a new cluster or instance. Starter has no point-in-time restore, and Dedicated needs it turned on. Testing restores is still your job.Your team runs BR snapshot and log backups. A full-cluster point-in-time restore needs an empty cluster.
FailoverRaft elects new leaders. Dedicated and Premium spread nodes across zones, while Starter, and Essential in most regions, run in one zone. Your application still has to reconnect.The same Raft failover, but your team sets the placement labels that keep replicas in separate zones.
Hotspots, slow queries, and schema designYours. The provider runs the platform, not your keys or queries.Yours.
Versions and upgradesUpgrades by support request. TiDB Cloud also upgrades versions it considers too old, with email notice.Your calendar, and TiDB cannot be downgraded after an upgrade.
Moving off laterChangefeeds stream changes to MySQL or Kafka on Dedicated, Premium, and BYOC, and on Essential by request. Starter has none, so leaving it means an export.Dumpling exports, BR backups, and TiCDC replication to MySQL or another cluster.

Your team keeps control

  • Set business priorities, application requirements, and release plans
  • Approve production changes, except routine actions you have pre-approved
  • Own your cloud accounts, access policies, and vendor relationships
  • Decide when maintenance can happen and how quickly service must recover
  • Move the work in-house or to another provider after your agreement's notice period, with your data returned or deleted and the transition help your agreement sets out (Terms, section 8)

JusDB handles the agreed database work

  • Monitor database health, investigate alerts, and involve the right people
  • Review query performance, replication, capacity, and backup health
  • Carry out approved changes and update the operating instructions they affect
  • Report completed work, open risks, and recommended next steps

Weighing TiDB Cloud against running TiDB yourself? We compare both against your workload on a scoping call.

Book a 30-min scoping call (opens Google Calendar in a new tab)

Further reading

TiDB guides and a comparison

Our blog on TiDB architecture, writes, Raft, schema changes, and sharding, plus a distributed SQL comparison.

FAQ

Common TiDB questions

What buyers ask about TiDB, MySQL compatibility, scaling, HTAP, and migrations.

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)

What is TiDB and who is it for?

TiDB is an open-source distributed SQL database from PingCAP, and JusDB supports it for teams whose MySQL workload has outgrown one server or a hand-built sharding layer. It speaks the MySQL protocol, keeps ACID transactions across nodes, and can serve analytics from columnar TiFlash replicas (HTAP).

Is TiDB compatible with MySQL?

TiDB supports the MySQL protocol, common syntax, and client drivers, and JusDB checks the gaps before any migration. TiDB does not support stored procedures, triggers, events, user-defined functions, or SPATIAL types. FULLTEXT indexes work only on TiDB Cloud Starter in some AWS regions. Foreign keys are enforced from v6.6.0 and generally available from v8.5.0.

How does TiDB scale horizontally?

JusDB scales TiDB by adding nodes where capacity is short: TiDB servers for SQL, TiKV for storage, and TiFlash for analytics. TiKV splits data into Regions (256 MiB by default from v8.4.0) with three Raft replicas each by default, and PD moves them onto new nodes. That helps only when writes spread, so we check keys for hotspots first.

How does TiDB prevent analytical queries from impacting transactional performance?

JusDB separates the two with TiFlash: columnar replicas of chosen tables on separate nodes, replicated from TiKV asynchronously as Raft learners. The optimizer or tidb_isolation_read_engines sends large scans there, and those reads stay consistent with TiKV. The isolation is partial: replication costs TiKV some work, and TiDB servers are shared unless analytics use their own.

How do you migrate from AWS RDS or Aurora MySQL to TiDB?

JusDB moves Amazon RDS or Aurora MySQL to TiDB with TiDB Data Migration (DM): a full copy, then continuous replication from the binary log. DM support for MySQL 8.4 sources is experimental, so we test it on a copy first. Before the move, we rework what TiDB cannot run, such as triggers, and keys that would cause write hotspots. Once replication catches up, we check data with sync-diff-inspector and switch in a rehearsed, pre-agreed window, with TiCDC replicating back to MySQL as a rollback path.

Next step

Talk to a TiDB engineer about your databases

Tell us what is slow, fragile, or due to change. The first 30-minute call covers your databases, current ownership, and required coverage. No production access is needed. Or request a free audit of one database instance, subject to availability: mutual NDA before read-only access, a prioritized report within one week after access is ready, and no obligation.

NDA before access, read-only by default, and written scope first