Sign in

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.

tidb vs cockroach fight poster
Download posterWhatsAppXThreadsFacebook
Red corner
VS
Blue corner

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, 2026

tidb 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/tidbcockroachdb/cockroach
Stars40,80632,658
Avg. stars per day since creation107
Forks6,3274,184
Open issues7,9287,699
Best Repocharts rank today#51 in Go#86 in Go
LanguageGoGo
LicenseApache-2.0–
CreatedSep 6, 2015Feb 6, 2014
Last pushDec 5, 2026Dec 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

All fights in the arena Every comparison