TiDB
Apache-2.0 distributed MySQL-compatible SQL database
Databases / Data · Apache-2.0 · 40.7k
Reviewed 2026-10-18 · last push 2026-10-19 · repo checked 2026-10-19
What's Good
Apache-2.0 (pingcap/tidb), developed since 2015. Distributed transactions use two-phase commit for ACID guarantees, data is replicated with Raft for automatic failover, and compute (TiDB) scales separately from storage (TiKV) without downtime. A columnar TiFlash engine adds real-time analytics on the same data (HTAP). Runs on Kubernetes via an operator or locally with the TiUP playground. ★~40.6k.
The Catch
A production cluster is several components (TiDB, TiKV, PD, optionally TiFlash) across at least three nodes, which is a lot of ops for a small app. MySQL compatibility is high but not total, so test your queries and features. The managed TiDB Cloud is PingCAP's commercial service.
Verdict
Serious scale-out MySQL when one primary is no longer enough — overkill before that.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/tidb)
HTML
<a href="https://stackgems.com/gems/tidb"><img src="https://stackgems.com/badge/tidb.svg" alt="TiDB reviewed on Stack Gems" height="20"></a>