DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. HarperDB vs. MongoDB

System Properties Comparison CockroachDB vs. HarperDB vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHarperDB  Xexclude from comparisonMongoDB  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.Ultra-low latency distributed database with an intuitive REST API supporting NoSQL and SQL (including joins). Deployment of functions and databases simultaneously with a consolidated node-level architecture.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelRelational DBMSDocument storeDocument store
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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.09
Rank#59  Overall
#33  Relational DBMS
Score0.46
Rank#283  Overall
#42  Document stores
Score458.78
Rank#5  Overall
#1  Document stores
Websitewww.cockroachlabs.comharperdb.iowww.mongodb.com
Technical documentationwww.cockroachlabs.com/­docsharperdb.io/­developers/­documentation/­overviewdocs.mongodb.com/­manual
DeveloperCockroach LabsHarperDBMongoDB, Inc
Initial release201520172009
Current release21.1.2, June 20213.1, August 20216.0.1, August 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree community edition availableOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.
Cloud-based only infoOnly available as a cloud servicenonono infoMongoDB available as DBaaS (MongoDB Atlas)
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 languageGoNode.jsC++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Linux
OS X
Solaris
Windows
Data schemedynamic schemadynamic 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.
Typing infopredefined data types such as float or dateyesyes infoJSON data typesyes infostring, integer, double, decimal, boolean, date, object_id, geospatial
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 PostgreSQLSQL-like data manipulation statementsRead-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsJDBCJDBC
ODBC
React Hooks
RESTful HTTP/JSON API
WebSocket
proprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C#
C++
ColdFusion
D
Dart
Delphi
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Lisp
MatLab
Objective C
Perl
PHP
PowerShell
Prolog
Python
R
Ruby
Rust
Scala
Swift
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
Server-side scripts infoStored proceduresnoCustom Functions infosince release 3.1JavaScript
Triggersnonoyes infoin MongoDB Atlas only
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 RAFTA table resides as a whole on one (or more) nodes in a clusterSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infothe nodes on which a table resides can be definedMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Foreign keys infoReferential integrityyesnono infotypically not used, however similar functionality with DBRef possible
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDAtomic execution of specific operationsMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes, using LMDByes infooptional, enabled by default
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes infoIn-memory storage engine introduced with MongoDB version 3.2
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesAccess rights for users and roles
More information provided by the system vendor
CockroachDBHarperDBMongoDB
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

Studio 3T: The world's favorite IDE for working with MongoDB
» 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

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

More resources
CockroachDBHarperDBMongoDB
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/29/2023 – AlleyWatch
29 March 2023, AlleyWatch

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

Cockroach Labs debuts serverless edition of its popular ...
21 September 2022, SiliconANGLE News

provided by Google News

Verizon APIs leverage AWS Wavelength for latency-sensitive app ...
2 March 2023, Verizon

HarperDB 4.0 integrates with open-source connectivity platform ...
17 January 2023, SiliconANGLE News

Edison Interactive partners with HarperDB to deliver premier digital ...
30 August 2022, PR Newswire

Jaxon Repp on HarperDB Distributed Database Platform
23 March 2022, InfoQ.com

NATS, An Open Source Connection Technology Now Includes ...
19 January 2023, Open Source For You

provided by Google News

Avestar Capital LLC Has $356000 Stock Holdings in MongoDB, Inc ...
30 March 2023, MarketBeat

Investor Takes Pessimistic Stance on MongoDB
29 March 2023, Best Stocks

Why MongoDB (MDB) Might be Well Poised for a Surge
27 March 2023, Nasdaq

Check Out What Whales Are Doing With MDB - MongoDB (NASDAQ ...
29 March 2023, Benzinga

Why MongoDB Stock Pulled Back Today
9 March 2023, The Motley Fool

provided by Google News

Job opportunities

Distributed Systems Engineer (L5) - Data Platform
Netflix, Remote

Software Engineer III
JPMorgan Chase Bank, N.A., Jersey City, NJ

AWS DevOps Engineer
Intone Networks, Plano, TX

Data Architect - AWS, Oracle, DynamoDB
Photon, Jersey City, NJ

Application Software Engineer, Data
SpaceX, Hawthorne, CA

Entry Level Python Developer - 482019
I28 Technologies Corporation, Remote

Entry Level Python & Django Developer - 482021
I28 Technologies Corporation, Remote

MongoDB Architect/SrDev
Tech Mahindra / Microsoft, Remote

AWS/ MongoDB Consultant
Cognizant, Richmond, VA

Production Service Engineer (Remote)
Stage 4 Solutions Inc, United States

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!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

Redis logo

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

Vertica logo

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

Present your product here