TiDB, scaled out, never sharded by hand.
In short: TiDB is an open-source, distributed SQL database built for HTAP (Hybrid Transactional/Analytical Processing). It combines row-based TiKV storage for OLTP with columnar TiFlash for real-time OLAP on a single platform, offering MySQL wire-protocol compatibility and transparent horizontal scaling without manual application sharding.
Scalable, high-performance, and cloud-native HTAP database solution. Combine transactional and analytical processing in a single platform with horizontal scaling capabilities.
TiDB 7.5 · distributed SQL
PD + TiKV + TiFlash · Raft
0.00k
0.0k
0ms
99%
Cluster Throughput
0.00k QPS[OK] pd: scheduling balanced, 0 pending operators
[INF] tikv: region 4471 split — hot key relieved
[OK] tiflash: replica sync 100%, HTAP ready
[INF] raft: leader election complete, store-3 → leader
Representative cluster view · illustrative metrics
0+
TiDB Instances Managed
0.99%
Uptime SLA
0×
Horizontal Scale
0%
Avg Cost Savings
What we do
TiDB HTAP engineering
Our TiDB specialists deliver comprehensive solutions for hybrid transactional and analytical processing workloads.
HTAP Architecture Design
Design and deploy TiDB clusters capable of parallel processing high-volume OLTP traffic alongside intensive OLAP real-time analytics.
TiKV & TiFlash Optimization
Optimize row-based TiKV storage engines for transactions and columnar TiFlash nodes for sub-second analytical queries.
Zero-Downtime Migrations
Execute seamless migrations from MySQL/Aurora using TiDB Data Migration (DM) for full load plus live incremental binlog replication.
Query & Planner Tuning
Tune the TiDB cost-based optimizer (CBO) and utilize SQL execution plan management (SPM) for predictable performance.
Auto-Sharding & Scaling
Configure horizontal scaling to eliminate MySQL sharding limitations and handle massive data growth without application changes.
Disaster Recovery & Backup
Implement physical backup architectures using BR (Backup & Restore) tool for high-speed snapshot/log restorations.
Distributed SQL performance
HTAP expertise across OLTP and OLAP
We tune the TiDB cost-based optimizer, push computation into the TiKV coprocessor, and replicate hot tables into TiFlash so analytics run on live transactional data — without a separate warehouse.
Distributed SQL Performance
After tuning100×
Horizontal scale
55%
Cost reduction
Real cases
Queries we've transformed
820ms
9ms
Sequential write hotspot on one TiKV region
The fix
PD split + scatter hot region; SHARD_ROW_ID_BITS=4
45s
1.2s
Analytical aggregate hammering OLTP row store
The fix
ALTER TABLE orders SET TIFLASH REPLICA 2 — MPP engine
9,400ms
120ms
Full scan pulling 12M rows to TiDB layer
The fix
Pushed filter + agg into TiKV coprocessor, 2% rows return
0.00%
Cluster Uptime
<0s
Failover RTO
0ms
Replica Lag
High availability
Always on. Raft-engineered.
TiKV stores data in Raft groups with three replicas and automatic leader election. PD rebalances regions across stores, so a lost node fails over in seconds with zero data loss — real 99.99% uptime, not a theoretical SLA.
Incident response
A hot-region P1, handled in under 15 minutes.
When a write hotspot overloads a single TiKV region, a named TiDB engineer responds — not a ticket queue. PD split-and-scatter plus SHARD_ROW_ID_BITS rebalances the load online, with a blameless postmortem after.
TiKV store p99 > 800ms — single hot region overloaded
Named TiDB engineer in under 15 min, not a ticket queue
Sequential write hotspot — one region absorbing all traffic
PD split + scatter hot region; SHARD_ROW_ID_BITS enabled
Load balanced across stores, p99 820ms → 9ms — total 13 min
Pre-Migration Assessment
MySQL → TiDB · DM + TiCDC
Near-zero-downtime cutover window: < 5 minutes
Migration
Move to TiDB without the downtime
MySQL or Aurora → TiDB. We pre-validate schema and compatibility, then TiDB Data Migration (DM) handles the full load and tails the source binlog for incremental sync to near-zero lag, so the migration cutover window stays under 5 minutes. (TiCDC then powers outbound change data capture from TiDB to downstream sinks.)
Technology stack
Technologies We Work With
Complete TiDB ecosystem and integration tools
FAQ
TiDB HTAP & distributed SQL questions
Common questions about TiDB, MySQL compatibility, and horizontal scaling.
Get started
Ready to Transform Your Data Infrastructure?
Contact us today to learn more about our TiDB services and how we can help you achieve your business goals with HTAP capabilities.
Compare with Other Databases
JusDB operates production fleets across most major engines. If you're weighing alternatives, here are the most common ones our customers compare against.
MySQL
TiDB is MySQL-wire-compatible. Most evaluations start here for migration scope and what query patterns will need refactoring.
PostgreSQL
Comparable distributed-SQL evaluation if you can absorb a wire-protocol switch — Postgres has stronger JSON / window function support.
MongoDB
Sharded NoSQL is the historical alternative to distributed SQL — useful comparison when document model fits better than relational.
ScyllaDB
When the workload is write-heavy and CQL-shaped, ScyllaDB's shard-per-core architecture outperforms distributed SQL on the same hardware.
Explore Our TiDB Services
Explore more ways our TiDB experts can help with your database infrastructure.