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.

HTAP DatabasesDistributed OLTP

Last verified:

Key facts

MaintainerPingCAP
LicenseApache-2.0
License notesTiDB, TiKV and TiFlash are Apache 2.0; PingCAP sells an Enterprise edition and the managed TiDB Cloud service.
Open source (OSI)Yes
First release2017
Latest stable version8.5.8 (Aug 27, 2026)
Deploymentself-hosted, managed, serverless
Wire compatibilitymysql
Query languagesSQL
Written inGo, Rust, C++
Also known asTiDB Cloud, PingCAP TiDB
Websitepingcap.com
Documentationdocs.pingcap.com
Source codegithub.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

All TiDB alternatives

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

Sources

Last verified:

  1. docs.pingcap.com/tidb/v8.5/release-8.5.8 docs.pingcap.com
  2. docs.pingcap.com/releases/tidb-self-managed/llms.txt docs.pingcap.com
  3. pingcap.com/tidb-release-support-policy pingcap.com
  4. github.com/pingcap/tidb/releases github.com

Found an error? See how to report a correction.