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

DBMS > CockroachDB vs. H2 vs. IBM Db2 vs. Memcached vs. Rockset

System Properties Comparison CockroachDB vs. H2 vs. IBM Db2 vs. Memcached vs. Rockset

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMemcached  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxIn-memory key-value store, originally intended for cachingA scalable, reliable search and analytics service in the cloud, built on RocksDB
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBKey-value storeDocument store
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Relational DBMS
Search engine
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.53
Rank#59  Overall
#33  Relational DBMS
Score9.81
Rank#51  Overall
#31  Relational DBMS
Score157.23
Rank#7  Overall
#5  Relational DBMS
Score24.64
Rank#33  Overall
#4  Key-value stores
Score0.51
Rank#240  Overall
#37  Document stores
Websitewww.cockroachlabs.comwww.h2database.comwww.ibm.com/­analytics/­db2www.memcached.orgrockset.com
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlwww.ibm.com/­support/­knowledgecenter/­SSEPGGgithub.com/­memcached/­memcached/­wikidocs.rockset.com
DeveloperCockroach LabsThomas MuellerIBMDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalRockset
Initial release201520051983 infohost version20032019
Current release21.1.2, June 20212.1.210, January 202212.1, October 20161.6.15, March 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is availableOpen Source infoBSD licensecommercial
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 languageGoJavaC and C++CC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Unix
Windows
hosted
Data schemedynamic schemayesyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesnodynamic 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.nonono infoingestion from XML files supported
Secondary indexesyesyesyesnoall fields are automatically indexed
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesyesnoRead-only SQL queries, including JOINs
APIs and other access methodsJDBCJDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Proprietary protocolHTTP REST
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsyesnono
Triggersnoyesyesnono
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 infoonly with Windows/Unix/Linux VersionnoneAutomatic 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 databaseyes infowith separate tools (MQ, InfoSphere)none infoRepcached, a Memcached patch, provides this functionallityyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDnono
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesyes
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.noyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyes infousing SASL (Simple Authentication and Security Layer) protocolAccess rights for users and organizations can be defined via Rockset console
More information provided by the system vendor
CockroachDBH2IBM Db2 infoformerly named DB2 or IBM Database 2MemcachedRockset
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 scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, LUSH, Bose, Shipt, MyDoc, Bitski,...
» more
Market metrics8K+ long-running clusters 2.5K+ CockroachDB Self-Hosted clusters 15K+ 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
CockroachDBH2IBM Db2 infoformerly named DB2 or IBM Database 2MemcachedRockset
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 Releases Free "SQL for App Developers" Courses to Bridge Education Gap
20 July 2022, PR Newswire

Is Kubernetes the Next Fault Domain? – The New Stack
12 August 2022, thenewstack.io

CockroachDB 22.1 Ramps up Automation, Scaling – The New Stack
25 May 2022, thenewstack.io

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

IBM launches Db2 operator for Kubenetes on AWS
20 July 2022, The Register

The cloud ate my database
8 August 2022, InfoWorld

Db2, where are you? Big Blue is oddly reluctant to discuss recent enhancements to its flagship database
23 December 2021, The Register

Data Analyst at Parvana Recruitment
12 August 2022, IT-Online

Thoroughly Modern: Latest IT Trends – Bring Security, Speed, And Consistency To IT With Automation
8 August 2022, IT Jungle

provided by Google News

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

CISA Adds Zimbra Email Vulnerability to its Exploited Vulnerabilities Catalog
4 August 2022, The Hacker News

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

AWS Announces AMD Based R6a Instances for Memory-Intensive Workloads
31 July 2022, InfoQ.com

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

provided by Google News

StarRocks brings open source OLAP database to the cloud
14 July 2022, TechTarget

Rockset Expands Real-Time Analytics Platform With New Data Connectors for Microsoft Azure
15 March 2022, GlobeNewswire

Rockset Adds Snowflake Connector for Real-time Analytics Across Streaming and Historical Data
15 June 2022, GlobeNewswire

Rockset Delivers Fast Analytics on SQL Server Data
29 April 2022, Datanami

Rockset advances real-time streaming data SQL queries
27 August 2021, TechTarget

provided by Google News

Job opportunities

DevOps Engineer III (Kubernetes)
Black Knight, Remote

Senior Database Engineer (UK REMOTE)
Humanity, Newcastle, WA

Platform Engineer (Database)
PLACE Corporate Careers, Denver, CO

Database Administrator - Team Lead
Akuna Capital, Chicago, IL

Database Developer
Firefly Aerospace, Cedar Park, TX

DB2 Database Programmer (REMOTE)
Kyndryl, Inc., Austin, TX

DB2 Database Administrator
Secured Leasing, El Segundo, CA

SQL Database Administrator-11316
Right Talents, Albany, NY

Mainframe DB2 Database Administrator
DMI, Washington, DC

Database Consutlant
Cognizant Technology Solutions, Dallas, TX

Lead PHP Developer
Locals, Remote

PHP Data Engineer
FBS, Remote

Python Developer
mroads, Dallas, TX

Sr. Java Developer
mroads, Plano, TX

Engineering Manager, Workflow
Adobe, New York, NY

Risk Analyst
Fast AF, Remote

Sales Engineer (UK)
rockset, Remote

Revenue Operations Admin
CBT Nuggets, Eugene, OR

Business Intelligence (BI) Data Engineer
CBT Nuggets, Eugene, OR

Senior Software Engineer - Elevate
BetterCloud, New York, NY

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Redis logo

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

Neo4j logo

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

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Present your product here