dgraphvstidb
Two self-hosted Databases projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.
| dgraph | tidb | |
|---|---|---|
| Score | 74/100 | 80/100 |
| Rank in category | #8 of 38 in Databases | #3 of 38 in Databases |
| GitHub stars | 21 838 | 40 763 |
| Stars, last 30 days | +25 | +112 |
| Stable releases, 12 months | 16 | 2 |
| Latest release | v25.5.1 · 22 Oct 2026 | v8.5.8 · 27 Aug 2026 |
| Setup | Moderate | Advanced |
| Official Docker image | No | Yes |
| License | Apache-2.0 | Apache-2.0 |
| Main language | Go | Go |
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.
dgraph details →tidb details →All Databases projects →