selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

cratedbvstidb

Two self-hosted Databases projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

cratedbtidb
Score67/10080/100
Rank in category#17 of 38 in Databases#3 of 38 in Databases
GitHub stars4 45640 766
Stars, last 30 days+11+104
Stable releases, 12 months292
Latest release6.4.7 · 4 Nov 2026v8.5.8 · 27 Aug 2026
SetupModerateAdvanced
Official Docker imageYesYes
LicenseApache-2.0Apache-2.0
Main languageJavaGo

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.

Swap a project

Keep cratedb, compare it with
Keep tidb, compare it with