compare
CockroachDB vs TiDB
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | CockroachDB | TiDB |
|---|---|---|
| Language | Go | Go |
| Licence | Other | Apache-2.0 |
| Stars | 33k | 41k |
| Latest | v26.2.12 | v7.5.8 |
| Last push | 2026-11-18 | 2026-11-23 |
| Release cadence | too few releases | about 67 days between releases |
| Active contributors | 3 commit authors on the default branch in the last 90 days | 65+ commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Google Cloud Spanner. Alternatives to Google Cloud Spanner →
Full replacementCockroachDBGlobally distributed SQL with strongly consistent transactions, which you can run yourself.
Full replacementTiDBDistributed SQL with MySQL compatibility and strongly consistent transactions.
CockroachDB
unsigned The latest release, v26.2.12, carries no signature GitHub could verify.
Loading the security report
TiDB
✓ signed The latest release, v7.5.8, carries a signature GitHub verified.
Loading the security report