Skip to content
DevUtils Online

Databases

postgrest vs tidb

postgrest leads by 1.2 · narrow

A · leads

postgrest

94.1

27,763 stars · MIT

B

tidb

92.9

40,739 stars · Apache-2.0

postgrest versus tidb is a Databases comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. postgrest is written mainly in Haskell; tidb is written mainly in Go. The composite score is 94.1 for postgrest and 92.9 for tidb.

tidb has 40,739 GitHub stars to postgrest's 27,763, a gap of 12,976 (1.47×). Forks are 1,238 for postgrest and 6,297 for tidb. On the log scale used inside this pair, adoption is 96 versus 100, and the fork community is 81 versus 100.

Push history: postgrest was last pushed on 17 November 2026 (0 days ago), and tidb was last pushed on 17 November 2026 (0 days ago). Open issues stand at 407 for postgrest (0.015 per star) and 7,730 for tidb (0.190 per star). Issue-health scores are 84 and 34; activity scores are 100 and 100.

postgrest is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. tidb is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 96 for postgrest and 96 for tidb. This is a procurement signal, not legal advice.

In Databases, both postgrest (27,763 stars) and tidb (40,739 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: postgrest is open source, tidb is open source.

The lead is split. postgrest is furthest ahead on issue health (84 to 34), while tidb is furthest ahead on fork community (100 to 81). Choose the dimension a rollout cannot compromise on.

postgrest finishes ahead at 94.1 against tidb at 92.9, a 1.2 point narrow margin under the published weights.

Scores are computed inside this pair only. Method and weights.

Where they separate

The numbers

Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.

postgrest versus tidb metrics
Signal postgrest tidb
GitHub stars 27,763 40,739
Forks 1,238 6,297
Open issues 407 7,730
Adoption 96 100
Activity 100 100
Community 81 100
Issue health 84 34
License 96 96
Self-hosting 100 100
Composite 94.1 92.9

tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Project site · GitHub · Full profile

Questions this page answers

Which has more GitHub stars, postgrest or tidb?

tidb has more GitHub stars: 40,739 versus 27,763 for postgrest. The gap is 12,976 stars.

Which was updated more recently, postgrest or tidb?

Both were last pushed on 17 November 2026.

Can I self-host both postgrest and tidb?

Yes. This catalog marks both postgrest and tidb as self-hostable. Confirm each project's deploy docs before you plan a migration.

Which license is easier to embed in a commercial product, postgrest or tidb?

postgrest is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. tidb is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.

Who wins the postgrest vs tidb score?

postgrest scores 94.1 and tidb scores 92.9. This page calls that a narrow lead for postgrest.

Related comparisons