TiDB
Open-source distributed SQL database compatible with the MySQL protocol. A stateless SQL layer sits on TiKV, a Raft-replicated transactional key-value store, while TiFlash keeps columnar replicas for analytical queries on the same data. It scales horizontally and is used for large MySQL workloads that outgrow sharding as well as mixed transactional and analytical use.
Developed by PingCAP from 2015 and released as 1.0 GA in 2017; TiKV is a CNCF graduated project.
Last verified:
Key facts
| Maintainer | PingCAP |
|---|---|
| License | Apache-2.0 |
| License notes | TiDB, TiKV and TiFlash are Apache 2.0; PingCAP sells an Enterprise edition and the managed TiDB Cloud service. |
| Open source (OSI) | Yes |
| First release | 2017 |
| Latest stable version | 8.5.8 (Aug 27, 2026) |
| Deployment | self-hosted, managed, serverless |
| Wire compatibility | mysql |
| Query languages | SQL |
| Written in | Go, Rust, C++ |
| Also known as | TiDB Cloud, PingCAP TiDB |
| Website | pingcap.com |
| Documentation | docs.pingcap.com |
| Source code | github.com/pingcap/tidb |
Radar
trial Ready for real projects where the fit is clear; less track record or a narrower sweet spot than adopt.
A proven open-source path for scaling MySQL-compatible workloads horizontally, with built-in columnar replicas for analytics.
Ring reviewed Dec 3, 2026.
Alternatives
- Amazon Aurora DSQL
- CockroachDB · compare
- Google Cloud Spanner · compare
- MariaDB
- MySQL · compare
- OceanBase · compare
- PlanetScale
- SingleStore · compare
- Vitess · compare
- YugabyteDB · compare
Featured in guides
Benchmarks
Independent, academic and vendor-published results are listed separately; each links to a page with results, caveats and sources. See the benchmark policy.
Vendor-published
ClickBench analytical DBMS leaderboard, December 2026 snapshot (link only)
ClickBench is the most widely cited open leaderboard for single-node analytical query speed, with roughly 235 system variants including embedded engines, MPP warehouses, managed cloud services, Postgres extensions and dataframe libraries. Column-oriented engines with vectorised execution dominate the hot-run rankings, while row stores and search engines trail on this scan-heavy workload. Read it as a test of one flat-table workload, not of joins, concurrency or ingestion.
Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified
Sources
Last verified:
- docs.pingcap.com/tidb/v8.5/release-8.5.8 docs.pingcap.com
- docs.pingcap.com/releases/tidb-self-managed/llms.txt docs.pingcap.com
- pingcap.com/tidb-release-support-policy pingcap.com
- github.com/pingcap/tidb/releases github.com
Found an error? See how to report a correction.