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

DBMS > CockroachDB vs. MongoDB vs. SingleStore

System Properties Comparison CockroachDB vs. MongoDB vs. SingleStore

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMongoDB  Xexclude from comparisonSingleStore infoformer name was MemSQL  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 infrastructureMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table type
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
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.89
Rank#59  Overall
#34  Relational DBMS
Score439.42
Rank#5  Overall
#1  Document stores
Score5.67
Rank#73  Overall
#39  Relational DBMS
Websitewww.cockroachlabs.comwww.mongodb.comwww.singlestore.com
Technical documentationwww.cockroachlabs.com/­docswww.mongodb.com/­docs/­manualdocs.singlestore.com
DeveloperCockroach LabsMongoDB, IncSingleStore Inc.
Initial release201520092013
Current release23.1.1, May 20236.0.7, June 20238.1, May 2023
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.commercial infofree developer edition available
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.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.SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilities
Implementation languageGoC++C++, Go
Server operating systemsLinux
macOS
Windows
Linux
OS X
Solaris
Windows
Linux info64 bit version required
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 Atlas SQL Interfaceyes infobut no triggers and foreign keys
APIs and other access methodsJDBCGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Cluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
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
Kotlin
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
Bash
C
C#
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoJavaScriptyes
Triggersnoyes infoin MongoDB Atlas onlyno
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.Sharding infohash partitioning
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 infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno infocan define user-defined aggregate functions for map-reduce-style calculations
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleno
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, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.
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.2yes
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesFine grained access control via users, groups and roles
More information provided by the system vendor
CockroachDBMongoDBSingleStore infoformer name was MemSQL
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
SingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» 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
SingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Driving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» 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
IEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Market metrics10K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Customers in various industries worldwide including US and International Industry...
» 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
F ree Tier and Enterprise Edition
» more
Related products and services
3rd partiesNavicat 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

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
CockroachDBMongoDBSingleStore infoformer name was MemSQL
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

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Recent citations in the news

Santander, Booking.com, and DoorDash Join Cockroach Labs ...
12 September 2023, PR Newswire

There are lots of ways to put a database in the cloud – here's what to consider
15 September 2023, The Register

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

Distributed PostgreSQL Benchmarks: Azure Cosmos DB ...
8 July 2023, InfoQ.com

CockroachDB hits Azure at last after five-year mission
9 June 2023, The Register

provided by Google News

MongoDB Launches Atlas for Manufacturing and Automotive
21 September 2023, PR Newswire

MongoDB Unusual Options Activity - MongoDB (NASDAQ:MDB)
22 September 2023, Benzinga

MongoDB, Inc. Announces Second Quarter Fiscal 2024 Financial ...
31 August 2023, PR Newswire

Roth Financial Partners LLC Takes $205000 Position in MongoDB ...
22 September 2023, MarketBeat

Everhart Financial Group Inc. Shows Confidence in MongoDB's ...
22 September 2023, Best Stocks

provided by Google News

SingleStore Announces New Real-Time Generative AI Event ...
21 September 2023, Business Wire

Database startup MotherDuck lands $52.5M to grow its DuckDB-based platform
20 September 2023, TechCrunch

Advanced real-time data a potential gamechanger as the enterprise ...
15 September 2023, SiliconANGLE News

Neon: This Company Separated Storage And Computing For Making On-Demand Scalability Easier
19 September 2023, Pulse 2.0

6 key features of SingleStore Kai for MongoDB
27 June 2023, InfoWorld

provided by Google News

Job opportunities

Software Engineer Graduate (Database Team) - 2024 Start (BS/MS)
ByteDance, San Jose, CA

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

Application Software Engineer, Data
SpaceX, Hawthorne, CA

Senior Cloud Engineer - Data Platforms
Fidelity Investments, Durham, NC

Manager, Backend Engineering
Zero Longevity Science, Montana

MongoDB
Devcare Solutions, California

Technical Customer Support Representative
Sakari, Remote

Developer Advocate
Oso, New York State

Senior Backend Engineer
Epic Games, Cary, NC

Level 3 MongoDB Escalation Specialist
Percona, Remote

Software Engineer - Database
MotherDuck, New York, NY

Senior Software Engineer, Database Engine
SingleStore, San Francisco, CA

Manager, IT Operations
SingleStore, Seattle, WA

Software Engineer - Backend
MotherDuck, Seattle, WA

Senior Software Engineer, Database Engine
SingleStore, Seattle, WA

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it 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

Present your product here