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.

dgraphvstidb

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

dgraphtidb
Score74/10080/100
Rank in category#8 of 38 in Databases#3 of 38 in Databases
GitHub stars21 83840 763
Stars, last 30 days+25+112
Stable releases, 12 months162
Latest releasev25.5.1 · 22 Oct 2026v8.5.8 · 27 Aug 2026
SetupModerateAdvanced
Official Docker imageNoYes
LicenseApache-2.0Apache-2.0
Main languageGoGo

Which one should you pick?

tidb scores 80/100 against 74/100 for dgraph, so it is the safer default.

dgraph ships more often: 16 stable releases in the past year, against 2 for tidb.

If you want the quickest setup, dgraph is easier to run; tidb needs more configuration.

tidb is growing faster right now (+112 stars in 30 days).

Key differences

  • Only tidb ships an official Docker image.
  • Platforms only dgraph lists: Docker.
  • Platforms only tidb lists: Kubernetes, macOS.
  • Features only dgraph lists: ACID Transactions, Distributed architecture.
  • 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 dgraph, compare it with
Keep tidb, compare it with