# PgHero vs tidb

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

| | PgHero | tidb |
|---|---|---|
| Score | 66/100 | 80/100 ✓ |
| Rank in category | #1 of 2 in Performance monitoring | #4 of 38 in Databases |
| GitHub stars | 8 942 | 40 684 ✓ |
| Stars, last 30 days | +12 | +103 ✓ |
| Stable releases, 12 months | 0 | 2 ✓ |
| Latest release | — | v8.5.8 · 27 Aug 2026 |
| Setup | Easy ✓ | Advanced |
| Official Docker image | Yes | Yes |
| License | MIT | Apache-2.0 |
| Main language | Ruby | Go |

## Which one should you pick?

tidb scores 80/100 against 66/100 for PgHero, so it is the safer default.

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

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

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

## Details

- [PgHero](https://selfhost.directory/project/pghero) (markdown: https://selfhost.directory/project/pghero.md)
- [tidb](https://selfhost.directory/project/tidb) (markdown: https://selfhost.directory/project/tidb.md)

---
Source: https://selfhost.directory/compare/pghero-vs-tidb