A
cockroach
77.2
32,622 stars · license n/a
Databases
rocksdb leads by 13.6 · clear
A
77.2
32,622 stars · license n/a
B · leads
90.8
32,285 stars · GPL-2.0
cockroach versus rocksdb is a Databases comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. cockroach is written mainly in Go; rocksdb is written mainly in C++. The composite score is 77.2 for cockroach and 90.8 for rocksdb.
cockroach has 32,622 GitHub stars to rocksdb's 32,285, a gap of 337 (1.01×). Forks are 4,236 for cockroach and 7,033 for rocksdb. On the log scale used inside this pair, adoption is 100 versus 100, and the fork community is 94 versus 100.
Push history: cockroach was last pushed on 11 November 2026 (6 days ago), and rocksdb was last pushed on 17 November 2026 (0 days ago). Open issues stand at 8,042 for cockroach (0.247 per star) and 1,855 for rocksdb (0.057 per star). Issue-health scores are 34 and 52; activity scores are 92 and 100.
cockroach is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. rocksdb is listed as GPL-2.0, which this catalog treats as a strong copyleft grant. Distributing a modified binary typically means offering the corresponding source of that program. License scores in this pair are 30 for cockroach and 64 for rocksdb. This is a procurement signal, not legal advice.
Only rocksdb is marked self-hostable here (32,285 stars, deploy score 100). cockroach is not (32,622 stars, deploy score 35). For a team with a data-residency rule, that gap can outweigh a star-count lead. Pricing labels on file: cockroach is unpriced in this catalog, rocksdb is open source.
The lead is split. cockroach is furthest ahead on adoption (100 to 100), while rocksdb is furthest ahead on self-hosting (100 to 35). Choose the dimension a rollout cannot compromise on.
rocksdb finishes ahead at 90.8 against cockroach at 77.2, a 13.6 point clear margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | cockroach | rocksdb |
|---|---|---|
| GitHub stars | 32,622 | 32,285 |
| Forks | 4,236 | 7,033 |
| Open issues | 8,042 | 1,855 |
| Adoption | 100 | 100 |
| Activity | 92 | 100 |
| Community | 94 | 100 |
| Issue health | 34 | 52 |
| License | 30 | 64 |
| Self-hosting | 35 | 100 |
| Composite | 77.2 | 90.8 |
CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
A library that provides an embeddable, persistent key-value store for fast storage.
cockroach has more GitHub stars: 32,622 versus 32,285 for rocksdb. The gap is 337 stars.
rocksdb was pushed more recently: 17 November 2026 versus 11 November 2026 for cockroach. That is 6 days apart.
Only rocksdb is marked self-hostable. cockroach is not.
cockroach is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. rocksdb is listed as GPL-2.0, which this catalog treats as a strong copyleft grant. Distributing a modified binary typically means offering the corresponding source of that program. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
rocksdb scores 90.8 and cockroach scores 77.2. This page calls that a clear lead for rocksdb.