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

DBMS > CockroachDB vs. H2 vs. Memcached vs. Realm

System Properties Comparison CockroachDB vs. H2 vs. Memcached vs. Realm

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonMemcached  Xexclude from comparisonRealm  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.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 cachingA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core Data
Primary database modelRelational DBMSRelational DBMSKey-value storeDocument store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score20.74
Rank#32  Overall
#4  Key-value stores
Score7.71
Rank#52  Overall
#9  Document stores
Websitewww.cockroachlabs.comwww.h2database.comwww.memcached.orgrealm.io
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wikirealm.io/­docs
DeveloperCockroach LabsThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalRealm, acquired by MongoDB in May 2019
Initial release2015200520032014
Current release23.1.1, May 20232.2.220, July 20231.6.25, March 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSD licenseOpen Source
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaC
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
Android
Backend: server-less
iOS
Windows
Data schemedynamic schemayesschema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes
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 indexesyesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnono
APIs and other access methodsJDBCJDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
.Net
Java infowith Android only
Objective-C
React Native
Swift
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsnono inforuns within the applications so server-side scripts are unnecessary
Triggersnoyesnoyes infoChange Listeners
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 RAFTnonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTWith clustering: 2 database servers on different computers operate on identical copies of a databasenone infoRepcached, a Memcached patch, provides this functionallitynone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesnoyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes infoIn-Memory realm
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardyes infousing SASL (Simple Authentication and Security Layer) protocolyes

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
CockroachDBH2MemcachedRealm
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, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

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

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

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

provided by Google News

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

Memcached DDoS: The biggest, baddest denial of service attacker yet
1 March 2018, ZDNet

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

What are memcached servers, and why are they being used to launch record-setting DDoS attacks?
6 March 2018, GeekWire

Memcached 1.6 Released With Enhanced Performance For This Memory Caching System
9 March 2020, Phoronix

provided by Google News

Danish CEO explains Silicon Valley learning curve for European entrepreneurs - San Francisco Business Times
6 October 2016, The Business Journals

MongoDB aims to unify developer experience with launch of MongoDB Cloud
9 June 2020, diginomica

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

Kotlin Programming Language Will Surpass Java On Android Next Year
15 October 2017, Fossbytes

Here are the winners of Nordic Startup Awards
31 May 2016, EU-Startups

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.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it 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

Present your product here