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. H2 vs. HyperSQL vs. IBM Db2 vs. Memcached

System Properties Comparison Cassandra vs. H2 vs. HyperSQL vs. IBM Db2 vs. Memcached

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMemcached  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBCommon in IBM host environments, 2 different versions for host and Windows/LinuxIn-memory key-value store, originally intended for caching
Primary database modelWide column storeRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBKey-value store
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score19.42
Rank#32  Overall
#4  Key-value stores
Websitecassandra.apache.orgwww.h2database.comhsqldb.orgwww.ibm.com/­products/­db2www.memcached.org
Technical documentationcassandra.apache.org/­doc/­latestwww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmlwww.ibm.com/­docs/­en/­db2github.com/­memcached/­memcached/­wiki
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookThomas MuellerIBMDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournal
Initial release2008200520011983 infohost version2003
Current release4.1.3, July 20232.2.220, July 20232.7.2, June 202312.1, October 20161.6.25, March 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licensecommercial infofree version is availableOpen Source infoBSD license
Cloud-based only infoOnly available as a cloud servicenonononono
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 languageJavaJavaJavaC and C++C
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
OS X
Unix
Windows
Data schemeschema-freeyesyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyesno
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
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyesno
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yesyesyesno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
JavaAll languages supporting JDBC/ODBC
Java
C
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
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsJava, SQLyesno
Triggersyesyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonenoneSharding infoonly with Windows/Unix/Linux Versionnone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneyes infowith separate tools (MQ, InfoSphere)none infoRepcached, a Memcached patch, provides this functionallity
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 Consistency
Foreign keys infoReferential integritynoyesyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyesyesyesyesno
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlAccess rights for users can be defined per objectfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyes infousing SASL (Simple Authentication and Security Layer) protocol
More information provided by the system vendor
CassandraH2HyperSQL infoalso known as HSQLDBIBM Db2 infoformerly named DB2 or IBM Database 2Memcached
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
CassandraH2HyperSQL infoalso known as HSQLDBIBM Db2 infoformerly named DB2 or IBM Database 2Memcached
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

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

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

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

provided by Google News

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

Data migration strategies to Amazon RDS for Db2 | Amazon Web Services
15 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Yahoo Finance

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

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

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

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here