DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

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

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

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonMemcached  Xexclude from comparisonRockset  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessCockroachDB 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 scalable, reliable search and analytics service in the cloud, built on RocksDB
Primary database modelWide column storeRelational DBMSRelational DBMSKey-value storeDocument store
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMSRelational DBMS
Search engine
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score19.42
Rank#32  Overall
#4  Key-value stores
Score0.79
Rank#211  Overall
#35  Document stores
Websitecassandra.apache.orgwww.cockroachlabs.comwww.h2database.comwww.memcached.orgrockset.com
Technical documentationcassandra.apache.org/­doc/­latestwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlgithub.com/­memcached/­memcached/­wikidocs.rockset.com
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookCockroach LabsThomas MuellerDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalRockset
Initial release20082015200520032019
Current release4.1.3, July 202323.1.1, May 20232.2.220, July 20231.6.25, March 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0, commercial license availableOpen 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.
Astra DB: Multi-cloud DBaaS built on Apache Cassandra.
Implementation languageJavaGoJavaCC++
Server operating systemsBSD
Linux
OS X
Windows
Linux
macOS
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Unix
Windows
hosted
Data schemeschema-freedynamic schemayesschema-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 indexesrestricted infoonly equality queries, not always the best performing solutionyesyesnoall fields are automatically indexed
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes, wire compatible with PostgreSQLyesnoRead-only SQL queries, including JOINs
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBCJDBC
ODBC
Proprietary protocolHTTP REST
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C#
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
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnonoJava Stored Procedures and User-Defined Functionsnono
Triggersyesnoyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"horizontal 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 RAFTnonenoneAutomatic sharding
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-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 methodsyesnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integritynoyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACIDnono
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.nonoyes
User concepts infoAccess controlAccess rights for users can be defined per objectRole-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
CassandraCockroachDBH2MemcachedRockset
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» 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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Cassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

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

More resources
CassandraCockroachDBH2MemcachedRockset
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, 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

Why Apache Cassandra 5.0 Is a Game-Changer for Developers
10 May 2024, The New Stack

Father of SQL says yes to NoSQL
10 May 2024, The Register

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

provided by Google News

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

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

provided by Google News

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

Redis Labs Boldly Joins AWS in Dropping Prices From 10 to 40 Percent
27 March 2024, Yahoo Lifestyle UK

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

Introducing mcrouter: A memcached protocol router for scaling memcached deployments
15 September 2014, Facebook Engineering

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

provided by Google News

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

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

Rockset Announces 2024 Index Conference, Industry Event for Engineers Building Search, Analytics, and AI ...
18 April 2024, Datanami

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

Real-time analytics database provider aims to cut compute costs by 30%
31 January 2024, SDxCentral

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

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

Present your product here