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

DBMS > CockroachDB vs. Elasticsearch vs. H2 vs. Memcached vs. Rockset

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisonH2  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.A distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricFull-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 scalable, reliable search and analytics service in the cloud, built on RocksDB
Primary database modelRelational DBMSSearch engineRelational DBMSKey-value storeDocument store
Secondary database modelsDocument store
Spatial DBMS
Spatial DBMSRelational DBMS
Search engine
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.53
Rank#59  Overall
#33  Relational DBMS
Score155.08
Rank#8  Overall
#1  Search engines
Score9.81
Rank#51  Overall
#31  Relational DBMS
Score24.64
Rank#33  Overall
#4  Key-value stores
Score0.51
Rank#240  Overall
#37  Document stores
Websitewww.cockroachlabs.comwww.elastic.co/­elasticsearchwww.h2database.comwww.memcached.orgrockset.com
Technical documentationwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wikidocs.rockset.com
DeveloperCockroach LabsElasticThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalRockset
Initial release20152010200520032019
Current release21.1.2, June 20217.8.0, June 20202.1.210, January 20221.6.15, March 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open 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 languageGoJavaJavaCC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAll OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
hosted
Data schemedynamic schemaschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-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.nononono infoingestion from XML files supported
Secondary indexesyesyes infoAll search fields are automatically indexedyesnoall fields are automatically indexed
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageyesnoRead-only SQL queries, including JOINs
APIs and other access methodsJDBCJava API
RESTful HTTP/JSON API
JDBC
ODBC
Proprietary protocolHTTP REST
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Java.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoyesJava Stored Procedures and User-Defined Functionsnono
Triggersnoyes infoby using the 'percolation' featureyesnono
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 RAFTShardingnonenoneAutomatic sharding
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 functionallityyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectornonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesnoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDnono
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yesyes
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.noMemcached and Redis integrationyes
User concepts infoAccess controlRole-based access controlfine 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
CockroachDBElasticsearchH2MemcachedRockset
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
CockroachDBElasticsearchH2MemcachedRockset
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

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

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

O'Reilly Launches New Book: CockroachDB the Definitive Guide
10 May 2022, PR Newswire

provided by Google News

Elastic Announces Enhancements to Cross-Cluster Search and Replication
14 July 2022, Datanami

Thousands of Burger King Customers Received a Blank Receipt: Security Breach or Employee Mistake?
9 August 2022, Tech Times

New Study From Elastic Finds 84% of Online Shoppers Say Personalization Influences Their Purchases
10 August 2022, Joplin Globe

5 Best Browsers that Support Kibana [Ranked by Compatibility]
4 August 2022, WindowsReport.com

The Great Grafana Mimir and Cortex Split
10 August 2022, thenewstack.io

provided by Google News

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

Key Value Database Market is Booming Worldwide with FoundationDB, Memcached, The Apache Software Foundation
26 July 2022, This Is Ardee

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

Increasing Prospects of Key-Value Stores Market by 2029 | Redis, Azure Redis Cache, ArangoDB – Shanghaiist
10 August 2022, Shanghaiist

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

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

Database Administrator (MYSQL,100% Remote, EST Shifts)
ITGen Systems, Remote

DevOps Engineer III (Kubernetes)
Black Knight, Remote

Software Engineer, Backend
Peloton, New York, NY

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

NodeJs Developer
FalconSmartIT, Dover, DE

Senior Python Developer | Elasticsearch | Airflow | Django
Cisco Talos Intelligence Group, Remote

Sr. DBA-MongoDB/Elasticsearch
Autofi, Remote

Node.JS Developer (100% Remote)
Piper Companies, Remote

Elasticsearch Engineer
Citi, Irving, TX

Elasticsearch Engineer (Remote)
cloudteam, Jacksonville, FL

Lead PHP Developer
Locals, Remote

PHP Data Engineer
FBS, Remote

Python Developer
mroads, Dallas, TX

Python Developer
Data Inc, Dallas, TX

Python Developer
Data Inc, 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

Redis logo

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

Vertica logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Neo4j logo

The right graph database.
Not a graph add-on.
Free forever.
Start solving today

Present your product here