CrateDBDistributed SQL database for real-time analytics
TiDBOpen-source distributed SQL database for scale
CrateDB vs TiDB
How CrateDB and TiDB 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.5k, 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.
- CrateDB is the older project (repository started 2013; TiDB in 2015).
Side by side
| CrateDB | TiDB | |
|---|---|---|
| GitHub stars | ★ 4,460 +4 in 10 days | ★ 40,805 +35 in 10 days |
| Forks | 630 | 6,324 |
| Last commit | today | today |
| Latest version | 6.5.2 | v7.5.8 |
| Repository started | April 2013 | September 2015 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Docker, CLI | – |
| Main language | Java | Go |
| Alternative to | Azure SQL Database, IBM Db2 | Amazon Aurora, Azure SQL Database, IBM Db2, Microsoft SQL Server, Snowflake |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
CrateDB
CrateDB stores and queries large data volumes with standard SQL, PostgreSQL wire compatibility, and Lucene-based search. It scales horizontally in containers and clouds.
Key features
- Standard distributed SQL
- PostgreSQL wire protocol
- HTTP SQL API
- Time-series and JSON support
- Full-text and geospatial queries
- Vector similarity search
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