DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. H2 vs. HarperDB vs. KeyDB vs. XTDB

System Properties Comparison Cassandra vs. H2 vs. HarperDB vs. KeyDB vs. XTDB

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonH2  Xexclude from comparisonHarperDB  Xexclude from comparisonKeyDB  Xexclude from comparisonXTDB infoformerly named Crux  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.Ultra-low latency distributed database with an intuitive REST API supporting NoSQL and SQL (including joins). Deployment of functions and databases simultaneously with a consolidated node-level architecture.An ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelWide column storeRelational DBMSDocument storeKey-value storeDocument store
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMS
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
Score0.55
Rank#248  Overall
#38  Document stores
Score0.71
Rank#226  Overall
#33  Key-value stores
Score0.11
Rank#343  Overall
#46  Document stores
Websitecassandra.apache.orgwww.h2database.comwww.harperdb.iogithub.com/­Snapchat/­KeyDB
keydb.dev
github.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationcassandra.apache.org/­doc/­latestwww.h2database.com/­html/­main.htmldocs.harperdb.io/­docsdocs.keydb.devwww.xtdb.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookThomas MuellerHarperDBEQ Alpha Technology Ltd.Juxt Ltd.
Initial release20082005201720192019
Current release4.1.3, July 20232.2.220, July 20233.1, August 20211.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree community edition availableOpen Source infoBSD-3Open Source infoMIT 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 languageJavaJavaNode.jsC++Clojure
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMLinux
OS X
LinuxAll OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeyesdynamic schemaschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyes infoJSON data typespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyes, extensible-data-notation format
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.nonononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyes infoby using the Redis Search moduleyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yesSQL-like data manipulation statementsnolimited SQL, making use of Apache Calcite
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBC
ODBC
JDBC
ODBC
React Hooks
RESTful HTTP/JSON API
WebSocket
Proprietary protocol infoRESP - REdis Serialization ProtocoHTTP REST
JDBC
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
Java.Net
C
C#
C++
ColdFusion
D
Dart
Delphi
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Lisp
MatLab
Objective C
Perl
PHP
PowerShell
Prolog
Python
R
Ruby
Rust
Scala
Swift
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
Clojure
Java
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsCustom Functions infosince release 3.1Luano
Triggersyesyesnonono
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"noneA table resides as a whole on one (or more) nodes in a clusterShardingnone
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 databaseyes infothe nodes on which a table resides can be definedMulti-source replication
Source-replica replication
yes, each node contains all data
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
Strong eventual consistency with CRDTs
Foreign keys infoReferential integritynoyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDAtomic execution of specific operationsOptimistic locking, atomic execution of commands blocks and scriptsACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyesyesyes, using LMDByes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyes
User concepts infoAccess controlAccess rights for users can be defined per objectfine grained access rights according to SQL-standardAccess rights for users and rolessimple password-based access control and ACL
More information provided by the system vendor
CassandraH2HarperDBKeyDBXTDB infoformerly named Crux
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
CassandraH2HarperDBKeyDBXTDB infoformerly named Crux
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

Recent citations in the news

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

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

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

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

provided by Google News

Startups of the Year 2023: Meet HarperDB - A Database and Application Development Platform
22 June 2023, hackernoon.com

5G Open Innovation Lab Announces its 9th Startup Batch
6 March 2024, Business Wire

Unlocking immersive golfing experiences with AWS Wavelength | Amazon Web Services
29 November 2022, AWS Blog

HarperDB: An underdog SQL / NoSQL database | ZDNET
7 February 2018, ZDNet

Stephen Goldberg Named 2023 Bill Daniels Ethical Leader of the Year | CU Denver Business School News
9 January 2023, business-news.ucdenver.edu

provided by Google News

Oh, snap! Snap snaps up database developer KeyDB
12 May 2022, TechCrunch

Snap Acquires KeyDB for Open-Source Services
17 May 2022, XR Today

Garnet–open-source faster cache-store speeds up applications, services
18 March 2024, Microsoft

Microsoft open-sources Garnet cache-store -- a Redis rival?
19 March 2024, The Stack

Redis 6 arrives with multithreading for faster I/O
30 April 2020, InfoWorld

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

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

Neo4j logo

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Present your product here