DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. MongoDB vs. openGauss

System Properties Comparison CockroachDB vs. MongoDB vs. openGauss

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMongoDB  Xexclude from comparisonopenGauss  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureAn enterprise-class RDBMS compatible with high-performance, high-availability and high-performance originally developed by Huawei
Primary database modelRelational DBMSDocument storeRelational DBMS
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.09
Rank#59  Overall
#33  Relational DBMS
Score458.78
Rank#5  Overall
#1  Document stores
Score1.19
Rank#196  Overall
#94  Relational DBMS
Websitewww.cockroachlabs.comwww.mongodb.comgitee.com/­opengauss
opengauss.org
Technical documentationwww.cockroachlabs.com/­docsdocs.mongodb.com/­manualgitee.com/­opengauss/­docs
opengauss.org/­en/­docs/­latest/­docs/­BriefTutorial/­BriefTutorial.html
DeveloperCockroach LabsMongoDB, IncHuawei and openGauss community
Initial release201520092019
Current release21.1.2, June 20216.0.1, August 20223.0, March 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source
Cloud-based only infoOnly available as a cloud servicenono infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.ScaleGrid for MongoDB Database: Fully managed hosting for MongoDB Database on a wide variety of cloud providers and On-Premises. Automate your management, scaling and backups through one centralized platform.
Implementation languageGoC++C, C++, Java
Server operating systemsLinux
macOS
Windows
Linux
OS X
Solaris
Windows
Linux
Data schemedynamic schemaschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLRead-only SQL queries via the MongoDB Connector for BIANSI SQL 2011
APIs and other access methodsJDBCproprietary protocol using JSONJDBC
ODBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
C
C++
Java
Server-side scripts infoStored proceduresnoJavaScriptyes
Triggersnoyes infoin MongoDB Atlas onlyyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.horizontal partitioning (by range, list and hash)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesAccess rights for users, groups and roles according to SQL-standard
More information provided by the system vendor
CockroachDBMongoDBopenGauss
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» more
Market metrics8K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBMongoDBopenGauss
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

How CockroachDB Helps Customers Develop Scalable Custom ...
27 March 2023, Acceleration Economy

The Distance from Data to You in Edge Computing
19 March 2023, The New Stack

The AlleyWatch Startup Daily Funding Report: 3/31/2023
31 March 2023, AlleyWatch

Database Futures with a Cockroach Labs Co-Founder
27 January 2023, Datanami

CockroachDB brings user-defined functions to distributed SQL
8 December 2022, TechTarget

provided by Google News

Microsoft Previews Azure Cosmos DB for MongoDB vCore Service
31 March 2023, InfoQ.com

Why Datadog, MongoDB, and DocuSign Fell Today
20 March 2023, The Motley Fool

Microsoft Previews Azure Cosmos DB for MongoDB vCore Service
31 March 2023, InfoQ.com

MongoDB CISO: Don’t be afraid to simplify important issues to ...
31 March 2023, IT PRO

MongoDB, Inc. Announces Fourth Quarter and Full Year Fiscal 2023 ...
8 March 2023, PR Newswire

provided by Google News

China takes measures to improve digital literacy and skills for ...
27 March 2023, People's Daily

About HUAWEI Open Source
9 February 2022, Huawei

Take a close look at technology highlights of the 2022 Huawei Developer Competition
16 August 2022, Yahoo Finance

Huawei's Four Open Source Basic Software Projects Infuse ...
12 October 2020, PR Newswire

Huawei is fastest growing cloud provider in APAC, targets Indonesia ...
25 May 2022, Tech Wire Asia

provided by Google News

Job opportunities

Staff Engineer, Data and Assets Engineering
Equinix, Redwood City, CA

Software Engineer (L4) - Feature Animation at Netflix
Netflix Animation, Burbank, CA

AWS DevOps Engineer
Intone Networks, Plano, TX

Sr Developer - Node JS
Photon, Bellevue, WA

Enterprise Information/Data Architect
Elevance Health, United States

Terraform Developer
Techwavz Inc, Dallas, TX

Kafka Admin
GS SOLUTIONS, Remote

Entry Level Python Developer - 482019
I28 Technologies Corporation, Remote

Net Developer
Kalven Technologies Inc, Irving, TX

Apigee Developer
USG IT Global, New York, NY

jobs by Indeed



Share this page

Featured Products

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Redis logo

The world’s most loved real‑time data platform.
Try free

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here