Skip to content
DevUtils Online

Databases

cockroach vs mongo

mongo leads by 8.1 · clear

A

cockroach

77.5

32,622 stars · license n/a

B · leads

mongo

85.6

28,682 stars · license n/a

cockroach versus mongo 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; mongo is written mainly in C++. The composite score is 77.5 for cockroach and 85.6 for mongo.

cockroach has 32,622 GitHub stars to mongo's 28,682, a gap of 3,940 (1.14×). Forks are 4,236 for cockroach and 5,916 for mongo. On the log scale used inside this pair, adoption is 100 versus 99, and the fork community is 96 versus 100.

Push history: cockroach was last pushed on 11 November 2026 (6 days ago), and mongo was last pushed on 17 November 2026 (0 days ago). Open issues stand at 8,042 for cockroach (0.247 per star) and 45 for mongo (0.002 per star). Issue-health scores are 34 and 96; 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. mongo 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. License scores in this pair are 30 for cockroach and 30 for mongo. This is a procurement signal, not legal advice.

Neither cockroach nor mongo is marked self-hostable in this catalog (32,622 and 28,682 stars). Deploy scores stay at 35 and 35. Treat both as hosted products until their own docs say you can run them. Pricing labels on file: cockroach is unpriced in this catalog, mongo is unpriced in this catalog.

The lead is split. cockroach is furthest ahead on adoption (100 to 99), while mongo is furthest ahead on issue health (96 to 34). Choose the dimension a rollout cannot compromise on.

mongo finishes ahead at 85.6 against cockroach at 77.5, a 8.1 point clear margin under the published weights.

Scores are computed inside this pair only. Method and weights.

Where they separate

The numbers

Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.

cockroach versus mongo metrics
Signal cockroach mongo
GitHub stars 32,622 28,682
Forks 4,236 5,916
Open issues 8,042 45
Adoption 100 99
Activity 92 100
Community 96 100
Issue health 34 96
License 30 30
Self-hosting 35 35
Composite 77.5 85.6

cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Project site · GitHub · Full profile

Questions this page answers

Which has more GitHub stars, cockroach or mongo?

cockroach has more GitHub stars: 32,622 versus 28,682 for mongo. The gap is 3,940 stars.

Which was updated more recently, cockroach or mongo?

mongo was pushed more recently: 17 November 2026 versus 11 November 2026 for cockroach. That is 6 days apart.

Can I self-host both cockroach and mongo?

Neither cockroach nor mongo is marked self-hostable in this catalog.

Which license is easier to embed in a commercial product, cockroach or mongo?

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. mongo 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. Read both grants before you embed either codebase in a hosted product. This is not legal advice.

Who wins the cockroach vs mongo score?

mongo scores 85.6 and cockroach scores 77.5. This page calls that a clear lead for mongo.

Related comparisons