RepoClash › Distributed Database rivals
RepoClash · the open-source arena
tidb vs cockroach
Distributed Database rivals. Both tagged distributed-database, database. Six rounds of real GitHub data, an AI referee, and the crowd picks a side.

pingcap/tidb: 40,806 stars, Go. TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vecto…
cockroachdb/cockroach: 32,658 stars, Go. CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
tidb vs cockroach: tale of the tape
GitHub data as of December 5, 2026tidb has 1.2 times as many GitHub stars as cockroach (40,806 vs 32,658). On average, tidb has collected more stars per day since it was created (10 vs 7). The latest push was to tidb on Dec 5, 2026. cockroach is the older project (created February 2014), tidb started in September 2015. Both are written mainly in Go.
| pingcap/tidb | cockroachdb/cockroach | |
|---|---|---|
| Stars | 40,806 | 32,658 |
| Avg. stars per day since creation | 10 | 7 |
| Forks | 6,327 | 4,184 |
| Open issues | 7,928 | 7,699 |
| Best Repocharts rank today | #51 in Go | #86 in Go |
| Language | Go | Go |
| License | Apache-2.0 | – |
| Created | Sep 6, 2015 | Feb 6, 2014 |
| Last push | Dec 5, 2026 | Dec 3, 2026 |
Quick answers
Which is more popular, tidb or cockroach?
tidb has 1.2 times as many GitHub stars as cockroach (40,806 vs 32,658) (Repocharts data as of December 5, 2026).
Which is growing faster, tidb or cockroach?
On average, tidb has collected more stars per day since it was created (10 vs 7).
Which is more actively developed?
The latest push was to tidb on Dec 5, 2026.
What languages are tidb and cockroach written in?
Both are written mainly in Go.
How does RepoClash compare tidb and cockroach?
RepoClash scores both repositories in six rounds (popularity, momentum, activity, community, maintenance and freshness) from public GitHub data, adds an AI referee's verdict and lets developers vote for their favorite. Star counts are updated daily.
More fights with tidb or cockroach
Pick the next one