DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. FoundationDB vs. H2 vs. Memcached vs. MySQL

System Properties Comparison CockroachDB vs. FoundationDB vs. H2 vs. Memcached vs. MySQL

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFoundationDB  Xexclude from comparisonH2  Xexclude from comparisonMemcached  Xexclude from comparisonMySQL  Xexclude from comparison
Created as commercial project in 2013, FoundationDB has been acquired by Apple in March 2015 and was withdrawn from the market. As a consequence, the product was removed from the DB-Engines ranking. In April 2018, Apple open-sourced FoundationDB and it therefore reappears in the ranking.
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.Ordered key-value store. Core features are complimented by layers.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory key-value store, originally intended for cachingWidely used open source RDBMS
Primary database modelRelational DBMSDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Relational DBMSKey-value storeRelational DBMS infoKey/Value like access via memcached API
Secondary database modelsSpatial DBMSDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score1.06
Rank#185  Overall
#31  Document stores
#28  Key-value stores
#85  Relational DBMS
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score18.08
Rank#32  Overall
#4  Key-value stores
Score1061.34
Rank#2  Overall
#2  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­apple/­foundationdbwww.h2database.comwww.memcached.orgwww.mysql.com
Technical documentationwww.cockroachlabs.com/­docsapple.github.io/­foundationdbwww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wikidev.mysql.com/­doc
DeveloperCockroach LabsFoundationDBThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalOracle infosince 2010, originally MySQL AB, then Sun
Initial release20152013200520031995
Current release24.1.0, May 20246.2.28, November 20202.2.220, July 20231.6.27, May 20248.4.0, April 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSD licenseOpen Source infoGPL version 2. Commercial licenses with extended functionallity are available
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageGoC++JavaCC and C++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
FreeBSD
Linux
OS X
Solaris
Windows
Data schemedynamic schemaschema-free infosome layers support schemasyesschema-freeyes
Typing infopredefined data types such as float or dateyesno infosome layers support typingyesnoyes
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.nonoyes
Secondary indexesyesnoyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLsupported in specific SQL layer onlyyesnoyes infowith proprietary extensions
APIs and other access methodsJDBCJDBC
ODBC
Proprietary protocolADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Go
Java
JavaScript infoNode.js
PHP
Python
Ruby
Swift
Java.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoin SQL-layer onlyJava Stored Procedures and User-Defined Functionsnoyes infoproprietary syntax
Triggersnonoyesnoyes
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 RAFTShardingnonenonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesWith clustering: 2 database servers on different computers operate on identical copies of a databasenone infoRepcached, a Memcached patch, provides this functionallityMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyLinearizable consistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesin SQL-layer onlyyesnoyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDnoACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyesnoyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlRole-based access controlnofine grained access rights according to SQL-standardyes infousing SASL (Simple Authentication and Security Layer) protocolUsers with fine-grained authorization concept infono user groups or roles

More information provided by the system vendor

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 partiesNavicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

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

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

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

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

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

provided by Google News

FoundationDB Raises $17 Million Series A Financing
31 May 2024, Yahoo Movies UK

FoundationDB team's new venture, Antithesis, raises $47M to enhance software testing
13 February 2024, SiliconANGLE News

Stonebraker Seeks to Invert the Computing Paradigm with DBOS
12 March 2024, Datanami

Antithesis raises $47M to launch an automated testing platform for software
13 February 2024, TechCrunch

FoundationDB, a very interesting NoSQL database owned by Apple, is now an open-source project
19 April 2018, GeekWire

provided by Google News

Memcached Adoption Spurs Solutions
30 May 2024, Data Center Knowledge

Why DDoS Threat Actors Are Shifting Their Tactics
15 March 2024, Infosecurity Magazine

Intel Continues To Demonstrate The Importance Of Software Optimizations: Clear Linux + Xeon Max Benchmarks
23 October 2023, Phoronix

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

Introducing mcrouter: A memcached protocol router for scaling memcached deployments
15 September 2014, Facebook Engineering

provided by Google News

Authentication Bypass Vulnerability in MySQL
1 June 2024, ITPro Today

12 Most Popular Databases in 2024
6 June 2024, MarkTechPost

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

PlanetScale forks MySQL to add vector support
1 June 2024, Yahoo Movies Canada

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, Oracle

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

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

Neo4j logo

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

Present your product here