compare
CockroachDB vs YDB
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | CockroachDB | YDB |
|---|---|---|
| Language | Go | C++ |
| Licence | Other | Apache-2.0 |
| Stars | 33k | 4.8k |
| Latest | v26.2.12 | 26.2.1.16 |
| Last push | 2026-11-18 | 2026-11-23 |
| Release cadence | too few releases | about 45 days between releases |
| Active contributors | 3 commit authors on the default branch in the last 90 days | 133+ 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.
PartialYDBDistributed SQL with serializable transactions across availability zones, on your own servers; its own SQL dialect, YQL.
CockroachDB
unsigned The latest release, v26.2.12, carries no signature GitHub could verify.
Loading the security report
YDB
unsigned The latest release, 26.2.1.16, carries no signature GitHub could verify.
Loading the security report