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

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

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonMemcached  Xexclude from comparisonNSDb  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 cachingScalable, High-performance Time Series DBMS designed for Real-time Analytics on top of KubernetesA scalable, reliable search and analytics service in the cloud, built on RocksDB
Primary database modelRelational DBMSRelational DBMSKey-value storeTime Series DBMSDocument store
Secondary database modelsSpatial 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
Score9.81
Rank#51  Overall
#31  Relational DBMS
Score24.64
Rank#33  Overall
#4  Key-value stores
Score0.00
Rank#357  Overall
#33  Time Series DBMS
Score0.51
Rank#240  Overall
#37  Document stores
Websitewww.cockroachlabs.comwww.h2database.comwww.memcached.orgnsdb.iorockset.com
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wikinsdb.io/­Architecturedocs.rockset.com
DeveloperCockroach LabsThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalRockset
Initial release20152005200320172019
Current release21.1.2, June 20212.1.210, January 20221.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)Open Source infoBSD licenseOpen Source infoApache Version 2.0commercial
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 languageGoJavaCJava, ScalaC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
Linux
macOS
hosted
Data schemedynamic schemayesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnoyes: int, bigint, decimal, stringdynamic 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 indexesyesyesnoall fields are automatically indexedall fields are automatically indexed
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnoSQL-like query languageRead-only SQL queries, including JOINs
APIs and other access methodsJDBCJDBC
ODBC
Proprietary protocolgRPC
HTTP REST
WebSocket
HTTP 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
Java
Scala
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsnonono
Triggersnoyesnono
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 RAFTnonenoneShardingAutomatic 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 functionallityyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnonono
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyesyesnoUsing Apache Luceneyes
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-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
CockroachDBH2MemcachedNSDbRockset
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
CockroachDBH2MemcachedNSDbRockset
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

CockroachDB boosts automation in distributed SQL database
25 May 2022, TechTarget

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

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

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

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

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

Zimbra Credential Theft Vulnerability Exploited in Attacks
5 August 2022, SecurityWeek

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

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

provided by Google News

Job opportunities

DevOps Engineer
LaunchDarkly, Oakland, CA

Customer Success Manager
Cockroach Labs, New York, NY

NOC Technician
Stash, New York, NY

DevOps Engineer III (Kubernetes)
Black Knight, Remote

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

Security Engineer
Notion, San Francisco, CA

Cloud DataArchitect
Virtusa, New York, NY

Security Engineer
Go2Andaman, San Francisco, CA

Front End Developer
Skoruz, Newark, CA

Production Engineer
Meta, New York, NY

Sales Engineer (UK)
rockset, Remote

Risk Analyst
Fast AF, 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

Neo4j logo

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

The definitive guide for Cassandra

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

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!

Present your product here