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

DBMS > CockroachDB vs. Hazelcast vs. MongoDB

System Properties Comparison CockroachDB vs. Hazelcast vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHazelcast  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.A widely adopted in-memory data gridOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelRelational DBMSKey-value storeDocument store
Secondary database modelsDocument store infoJSON support with IMDG 3.12Spatial 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
Score6.61
Rank#65  Overall
#36  Relational DBMS
Score7.92
Rank#57  Overall
#6  Key-value stores
Score425.36
Rank#5  Overall
#1  Document stores
Websitewww.cockroachlabs.comhazelcast.comwww.mongodb.com
Technical documentationwww.cockroachlabs.com/­docshazelcast.org/­imdg/­docsdocs.mongodb.com/­manual
DeveloperCockroach LabsHazelcastMongoDB, Inc
Initial release201520082009
Current release23.1.1, May 20235.2.2, February 20236.0.5, March 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2; commercial licenses 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.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
Implementation languageGoJavaC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMLinux
OS X
Solaris
Windows
Data schemedynamic schemaschema-freeschema-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 dateyesyesyes 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.noyes infothe object must implement a serialization strategy
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageRead-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsJDBCJCache
JPA
Memcached protocol
RESTful HTTP API
proprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
Python
Scala
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 proceduresnoyes infoEvent Listeners, Executor ServicesJavaScript
Triggersnoyes infoEventsyes 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 RAFTShardingSharding 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 infoReplicated MapMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual Consistency selectable by user infoRaft Consensus AlgorithmEventual 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 dataACIDone or two-phase-commit; repeatable reads; read commitedMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes 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 controlRole-based access controlAccess rights for users and roles
More information provided by the system vendor
CockroachDBHazelcastMongoDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Internet of Things and Time Series (Bosch, GE Healthcare, Jaguar Land Rover) Mobile...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, Bitski, Five9,...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics10K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
365+ million downloads, over 150,000+ Atlas clusters provisioned every month handling...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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 partiesStudio 3T: The world's favorite IDE for working with MongoDB
» more

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

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
CockroachDBHazelcastMongoDB
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

Launch of CockroachDB-as-a-Service Optimizes and Enhances ...
1 June 2023, Database Trends and Applications

CockroachDB now supports Microsoft Azure, multiregion deployments
16 May 2023, InfoWorld

MariaDB's Xpand offers PostgreSQL compatibility without the forking drama
10 May 2023, The Register

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

Hashtag Trending May 17- OpenAI’s Sam Altman acknowledges need for AI oversight to U.S. Congress; Most CISOs think their organizations are likely to be attacked; Database known as CockroachDB now supports AWS, Google Cloud and Azure
17 May 2023, IT World Canada

provided by Google News

Hazelcast to Highlight How to Accelerate Measurable Business ...
16 May 2023, GlobeNewswire

Open Source Provides Path to Real-Time Stream Processing
8 May 2023, Datanami

Hazelcast Recognized as Leader in GigaOm Radar Report for ...
24 April 2023, MarTech Series

Hazelcast CEO: Automation Rules The Real-Time Economy
10 December 2022, Forbes

Hazelcast Aims to Democratize Real-Time Data with Serverless
3 October 2022, The New Stack

provided by Google News

MongoDB stock surges 28% for best day ever on big beat, forecast
2 June 2023, MarketWatch

MongoDB shares jump more than 20% after database company beats expectations and raises guidance
1 June 2023, CNBC

MongoDB, Inc. Announces First Quarter Fiscal 2024 Financial Results
1 June 2023, PR Newswire

MongoDB stock surges on earnings, upbeat forecast
2 June 2023, Yahoo Finance

MongoDB’s blowout earnings and forecast beat sends stock soaring
1 June 2023, MarketWatch

provided by Google News

Job opportunities

AWS DevOps Engineer
Intone Networks, Plano, TX

Backend Engineer, Managed Datastores
Render, San Francisco Bay Area, CA

SR. Full Stack Engineer
Intelliswift Software, Inc., Mountain View, CA

DevOps Engineer (Kubernetes & Cloud Services)
Intrepid Studios, San Diego, CA

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

Senior Technical Writer
Hazelcast, Remote

.NET Developer
Axabee, Remote

MongoDB Engineer
Alltech International, Remote

Open Data Specialist
Howard Hughes Medical Institute, Ashburn, VA

Web Development Opportunities
SuretyBonds.com, Remote

Senior Node.js developer With MongoDB
Talent Hires, Remote

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!

Redis logo

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

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here