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

DBMS > CockroachDB vs. Memcached vs. MongoDB

System Properties Comparison CockroachDB vs. Memcached vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMemcached  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.In-memory key-value store, originally intended for cachingOne 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 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.95
Rank#57  Overall
#33  Relational DBMS
Score25.40
Rank#32  Overall
#4  Key-value stores
Score486.23
Rank#5  Overall
#1  Document stores
Websitewww.cockroachlabs.comwww.memcached.orgwww.mongodb.com
Technical documentationwww.cockroachlabs.com/­docsgithub.com/­memcached/­memcached/­wikidocs.mongodb.com/­manual
DeveloperCockroach LabsDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalMongoDB, Inc
Initial release201520032009
Current release21.1.2, June 20211.6.15, March 20226.0.1, August 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSD licenseOpen 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 languageGoCC++
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
OS X
Unix
Windows
Linux
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 dateyesnoyes 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.no
Secondary indexesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoRead-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsJDBCProprietary protocolproprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
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 proceduresnonoJavaScript
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 RAFTnoneSharding 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 infoRepcached, a Memcached patch, provides this functionallityMulti-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 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 dataACIDnoMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesnoyes infooptional, enabled by default
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.2
User concepts infoAccess controlRole-based access controlyes infousing SASL (Simple Authentication and Security Layer) protocolAccess rights for users and roles
More information provided by the system vendor
CockroachDBMemcachedMongoDB
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, Bitski, Five9,...
» 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
CockroachDBMemcachedMongoDB
DB-Engines blog posts

Redis extends the lead in the DB-Engines key-value store ranking
3 February 2014, Matthias Gelbmann

New DB-Engines Ranking shows the popularity of database management systems
3 October 2012, Matthias Gelbmann, Paul Andlinger

show all

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

CockroachDB Serverless Now Generally Available
29 September 2022, InfoQ.com

CockroachDB gets database migration tool, as CockroachDB Serverless launches
21 September 2022, InfoWorld

CockroachDB adds command line tool as database hits version 22.1
24 May 2022, The Register

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

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

provided by Google News

How Pinterest Tuned Memcached for Big Performance Gains
16 May 2022, thenewstack.io

How to install Memcached on Ubuntu 22.04 LTS Server
27 August 2022, Linux Shout

Business email platform Zimbra patches memcached injection flaw that imperils user credentials
16 June 2022, The Daily Swig

Is a Rust Rewrite Really Worth It?
19 September 2022, thenewstack.io

Google Releases Memorystore for Memcached into General Availability
9 March 2021, InfoQ.com

provided by Google News

Why MongoDB Stock Popped Today
30 September 2022, The Motley Fool

MongoDB Stock: Approaching A Buy Point, Don't Rush In (NASDAQ:MDB)
15 September 2022, Seeking Alpha

MongoDB shrugs off economic slowdown in storming quarter, adds record new customers
2 September 2022, The Stack

Box and MongoDB CEOs Chat About Software and the Future of Work
14 September 2022, InformationWeek

Truist initiates coverage on MongoDB, Confluent, HashiCorp, JFrog with buy ratings
30 September 2022, Seeking Alpha

provided by Google News

Job opportunities

Technical Support Engineer (Node.JS & TypeScript)
Prisma Data, Austin, MN

Senior Java Developer
Trident systems integrator, San Francisco, CA

VP, Software Architecture(E)
Samsung Electronics, Mountain View, CA

Node.js Developer
Aspire Systems, Seattle, WA

Full Stack Developer
Kami, Chicago, IL

Production Engineer
Facebook App, Seattle, WA

Production Engineer
Facebook App, Remote

Production Engineer
Meta, Remote

Production Engineer
Facebook App, Bellevue, WA

Associate Product Manager
Launch Potato, Seattle, WA

Senior Database Administrator, MongoDB - Remote
Humana, Birmingham, AL

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

Database Performance Consultant - MongoDB
Percona, Remote

Database Developer for Oracle and MongoDB
JPMorgan Chase Bank, N.A., Houston, TX

MongoDB DBA
Nuvento systems, Remote

jobs by Indeed



Share this page

Featured Products

Redis logo

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

Neo4j logo

Neo4j NODES 2022
Free online conference for developers and data scientists.
November 16/17 2022.
Register now for free!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

AllegroGraph logo

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

Present your product here