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

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

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

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonCockroachDB  Xexclude from comparisonFoundationDB  Xexclude from comparisonH2  Xexclude from comparisonMemcached  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.
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.CockroachDB 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 caching
Primary database modelKey-value storeRelational DBMSDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Relational DBMSKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.22
Rank#320  Overall
#47  Key-value stores
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
Websitegithub.com/­dgraph-io/­badgerwww.cockroachlabs.comgithub.com/­apple/­foundationdbwww.h2database.comwww.memcached.org
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.cockroachlabs.com/­docsapple.github.io/­foundationdbwww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wiki
DeveloperDGraph LabsCockroach LabsFoundationDBThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournal
Initial release20172015201320052003
Current release24.1.0, May 20246.2.28, November 20202.2.220, July 20231.6.27, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSD license
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.
Implementation languageGoGoC++JavaC
Server operating systemsBSD
Linux
OS X
Solaris
Windows
Linux
macOS
Windows
Linux
OS X
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
Data schemeschema-freedynamic schemaschema-free infosome layers support schemasyesschema-free
Typing infopredefined data types such as float or datenoyesno infosome layers support typingyesno
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.nonono
Secondary indexesnoyesnoyesno
SQL infoSupport of SQLnoyes, wire compatible with PostgreSQLsupported in specific SQL layer onlyyesno
APIs and other access methodsJDBCJDBC
ODBC
Proprietary protocol
Supported programming languagesGoC#
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
Server-side scripts infoStored proceduresnonoin SQL-layer onlyJava Stored Procedures and User-Defined Functionsno
Triggersnononoyesno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal 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 RAFTShardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTyesWith clustering: 2 database servers on different computers operate on identical copies of a databasenone infoRepcached, a Memcached patch, provides this functionallity
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyLinearizable consistencyImmediate Consistency
Foreign keys infoReferential integritynoyesin SQL-layer onlyyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyesyesno
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlnoRole-based access controlnofine grained access rights according to SQL-standardyes infousing SASL (Simple Authentication and Security Layer) protocol

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

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

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

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



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

Milvus logo

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

Present your product here