cratedbvstidb
Two self-hosted Databases projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.
| cratedb | tidb | |
|---|---|---|
| Score | 67/100 | 80/100 |
| Rank in category | #17 of 38 in Databases | #3 of 38 in Databases |
| GitHub stars | 4 456 | 40 766 |
| Stars, last 30 days | +11 | +104 |
| Stable releases, 12 months | 29 | 2 |
| Latest release | 6.4.7 · 4 Nov 2026 | v8.5.8 · 27 Aug 2026 |
| Setup | Moderate | Advanced |
| Official Docker image | Yes | Yes |
| License | Apache-2.0 | Apache-2.0 |
| Main language | Java | Go |
Which one should you pick?
tidb scores 80/100 against 67/100 for cratedb, so it is the safer default.
cratedb ships more often: 29 stable releases in the past year, against 2 for tidb.
If you want the quickest setup, cratedb is easier to run; tidb needs more configuration.
tidb is growing faster right now (+104 stars in 30 days).
Key differences
- Language: cratedb is written mainly in Java, tidb in Go.
- Platforms only cratedb lists: Debian, Docker, Linux, Windows.
- Platforms only tidb lists: macOS.
- Features only cratedb lists: Auto-sharding, partitioning and replication, Backup and restore via snapshots, Built-in admin web UI, Distributed SQL engine on shared-nothing clusters and 11 more.
- Features only tidb lists: Change data capture, Distributed ACID transactions, Geographic replica placement, High availability with automatic failover (Raft) and 9 more.
cratedb details →tidb details →All Databases projects →