TiDBOpen-source distributed SQL database for scale
YDBOpen distributed SQL database with strict consistency
TiDB vs YDB
How TiDB and YDB compare on popularity, activity, license and platforms: two open-source Databases projects, both alternatives to Azure SQL Database and IBM Db2.
At a glance
- TiDB has more GitHub stars (40.8k vs 4.8k, about 9× as many).
- Both are actively maintained (last commits today and today).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
- TiDB is the older project (repository started 2015; YDB in 2022).
Side by side
| TiDB | YDB | |
|---|---|---|
| GitHub stars | ★ 40,805 +35 in 10 days | ★ 4,792 |
| Forks | 6,324 | 849 |
| Last commit | today | today |
| Latest version | v7.5.8 | 26.2.1.16 |
| Repository started | September 2015 | February 2022 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | – | Linux, macOS, Windows |
| Main language | Go | C++ |
| Alternative to | Amazon Aurora, Azure SQL Database, IBM Db2, Microsoft SQL Server, Snowflake | Azure SQL Database, IBM Db2 |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
TiDB
TiDB is a cloud-native distributed SQL database aimed at high availability, elastic scaling, and strong consistency, with support for transactions, analytics, and vector search.
Key features
- Distributed SQL storage
- Horizontal and vertical scaling
- High availability design
- MySQL-compatible access
- HTAP-style analytics
- Vector search in SQL
YDB
YDB is a distributed SQL database combining scalability and high availability with ACID transactions and strong consistency.
Key features
- Distributed ACID SQL transactions
- Row and column table storage
- Persistent topics for streaming data
- Multi-zone fault tolerance
- Disaggregated storage and compute
- YQL and PostgreSQL-compatible modes