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 vs. Rockset

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonMemcached  Xexclude from comparisonRealm  Xexclude from comparisonRockset  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 DataA scalable, reliable search and analytics service in the cloud, built on RocksDB
Primary database modelRelational DBMSRelational DBMSKey-value storeDocument storeDocument store
Secondary database modelsSpatial DBMSRelational DBMS
Search engine
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.39
Rank#60  Overall
#34  Relational DBMS
Score8.14
Rank#50  Overall
#32  Relational DBMS
Score20.81
Rank#32  Overall
#4  Key-value stores
Score7.70
Rank#52  Overall
#9  Document stores
Score1.01
Rank#201  Overall
#35  Document stores
Websitewww.cockroachlabs.comwww.h2database.comwww.memcached.orgrealm.iorockset.com
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wikirealm.io/­docsdocs.rockset.com
DeveloperCockroach LabsThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalRealm, acquired by MongoDB in May 2019Rockset
Initial release20152005200320142019
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 Sourcecommercial
Cloud-based only infoOnly available as a cloud servicenonononoyes
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.
Implementation languageGoJavaCC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
Android
Backend: server-less
iOS
Windows
hosted
Data schemedynamic schemayesschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesnoyesdynamic typing
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.nononono infoingestion from XML files supported
Secondary indexesyesyesnoyesall fields are automatically indexed
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnonoRead-only SQL queries, including JOINs
APIs and other access methodsJDBCJDBC
ODBC
Proprietary protocolHTTP REST
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
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsnono inforuns within the applications so server-side scripts are unnecessaryno
Triggersnoyesnoyes infoChange Listenersno
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 RAFTnonenonenoneAutomatic sharding
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 functionallitynoneyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesnoyesyes
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) protocolyesAccess rights for users and organizations can be defined via Rockset console
More information provided by the system vendor
CockroachDBH2MemcachedRealmRockset
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Market metrics12K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» 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

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

More resources
CockroachDBH2MemcachedRealmRockset
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 DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

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

provided by Google News

Amazon ElastiCache Serverless for Redis and Memcached is now available | Amazon Web Services
27 November 2023, AWS Blog

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

Amazon ElastiCache for Memcached simplifies creating new clusters in the AWS Management Console
22 August 2023, AWS Blog

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

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

provided by Google News

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

5 Mobile App Testing Tools — SitePoint
21 January 2015, SitePoint

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

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

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

provided by Google News

Honing business data with AI real-time analytics
14 March 2024, SiliconANGLE News

Rockset lands $44M to power real-time search and analytics apps
29 August 2023, TechCrunch

Rockset targets cost control with latest database update
31 January 2024, TechTarget

Rockset Primes Database for Massive Vector Serving
20 November 2023, Datanami

Rockset Releases New Instance Class, Gains Momentum as the Search and Analytics Database Built for the Cloud
31 January 2024, GlobeNewswire

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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

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.

Present your product here