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

DBMS > CockroachDB vs. Datomic vs. MongoDB

System Properties Comparison CockroachDB vs. Datomic vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDatomic  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.Datomic builds on immutable values, supports point-in-time queries and uses 3rd party systems for durabilityOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelRelational DBMSRelational DBMSDocument 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.53
Rank#59  Overall
#33  Relational DBMS
Score1.75
Rank#131  Overall
#64  Relational DBMS
Score477.66
Rank#5  Overall
#1  Document stores
Websitewww.cockroachlabs.comwww.datomic.comwww.mongodb.com
Technical documentationwww.cockroachlabs.com/­docsdocs.datomic.comdocs.mongodb.com/­manual
DeveloperCockroach LabsCognitectMongoDB, Inc
Initial release201520122009
Current release21.1.2, June 20211.0.6362, January 20226.0.0, July 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infolimited edition freeOpen 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: Fully managed hosting for MongoDB database on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • 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 languageGoJava, ClojureC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMLinux
OS X
Solaris
Windows
Data schemedynamic schemayesschema-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.nono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoRead-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsJDBCRESTful HTTP APIproprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Clojure
Java
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 infoTransaction FunctionsJavaScript
TriggersnoBy using transaction functionsyes 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 RAFTnone infoBut extensive use of caching in the application peersSharding 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 RAFTnone infoBut extensive use of caching in the application peersMulti-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 dataACIDACIDMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infousing external storage systems (e.g. Cassandra, DynamoDB, PostgreSQL, Couchbase and others)yes infooptional, enabled by default
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes inforecommended only for testing and developmentyes infoIn-memory storage engine introduced with MongoDB version 3.2
User concepts infoAccess controlRole-based access controlnoAccess rights for users and roles
More information provided by the system vendor
CockroachDBDatomicMongoDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
MongoDB’s application data platform provides developers a unified interface to power...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
The MongoDB platform can be used by developers building transactional, operational,...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Internet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc, Bitski,...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB Self-Hosted clusters 15K+ CockroachDB...
» more
200+ million downloads, over 1.5M Atlas database clusters under management 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 partiesPercona: 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

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
CockroachDBDatomicMongoDB
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

Cockroach Labs Releases Free "SQL for App Developers" Courses to Bridge Education Gap
20 July 2022, PR Newswire

CockroachDB 22.1 Ramps up Automation, Scaling – The New Stack
25 May 2022, thenewstack.io

CockroachDB database creator Cockroach Labs raises $278M
16 December 2021, VentureBeat

CockroachDB version 21.1 simplifies distributed SQL database
20 May 2021, TechTarget

O'Reilly Launches New Book: CockroachDB the Definitive Guide
10 May 2022, PR Newswire

provided by Google News

The Architecture of Datomic
2 November 2012, InfoQ.com

Structural and dynamic mechanisms of GABAA receptor modulators with opposing activities
6 August 2022, Nature.com

Lucas Cavalcanti on Using Clojure, Microservices, Hexagonal Architecture and Public Cloud at Nubank
16 August 2021, InfoQ.com

Brazil’s Nubank Acquires US Software Firm Cognitect
30 July 2020, Nearshore Americas

Nubank buys firm behind Clojure programming language
28 July 2020, Finextra

provided by Google News

MongoDB Stock: Current Price Is A Risky Proposition (NASDAQ:MDB)
10 August 2022, Seeking Alpha

Why MongoDB Stock Gained 20% In July
8 August 2022, The Motley Fool

Struggle with export and import in MongoDB via mongo-express
10 August 2022, DataDrivenInvestor

MongoDB, Inc. (NASDAQ:MDB) Shares Purchased by Los Angeles Capital Management LLC
10 August 2022, Defense World

Why MongoDB, Twilio, and DocuSign Rallied on Monday
8 August 2022, The Motley Fool

provided by Google News

Job opportunities

Database Administrator (MYSQL,100% Remote, EST Shifts)
ITGen Systems, Remote

DevOps Engineer III (Kubernetes)
Black Knight, Remote

Software Engineer, Backend
Peloton, New York, NY

Senior Database Engineer (UK REMOTE)
Humanity, Newcastle, WA

NodeJs Developer
FalconSmartIT, Dover, DE

Clojure/Datomic Developer
Concentrix Catalyst, Remote

Python Developer (Django, AWS, REST, SOAP, MongoDB)
Irisidea TechSolutions Pvt Ltd, Remote

Back End Developer (NodeJS + MongoDB) [Remote]
Braintrust, San Francisco, CA

MongoDB
State Tech, Remote

Social Media Manager
Couchbase, Remote

Software Developer- (Angular / GoLang / Mongodb)
PNC Financial Services Group, Pittsburgh, PA

jobs by Indeed



Share this page

Featured Products

Redis logo

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

Neo4j logo

The right graph database.
Not a graph add-on.
Free forever.
Start solving today

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

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