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. EJDB vs. H2 vs. KeyDB vs. XTDB

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

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonEJDB  Xexclude from comparisonH2  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 accessEmbeddable document-store database library with JSON representation of queries (in MongoDB style)Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.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 storeDocument storeRelational DBMSKey-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
Score0.27
Rank#297  Overall
#44  Document stores
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.71
Rank#226  Overall
#33  Key-value stores
Score0.11
Rank#343  Overall
#46  Document stores
Websitecassandra.apache.orggithub.com/­Softmotions/­ejdbwww.h2database.comgithub.com/­Snapchat/­KeyDB
keydb.dev
github.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationcassandra.apache.org/­doc/­latestgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdwww.h2database.com/­html/­main.htmldocs.keydb.devwww.xtdb.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookSoftmotionsThomas MuellerEQ Alpha Technology Ltd.Juxt Ltd.
Initial release20082012200520192019
Current release4.1.3, July 20232.2.220, July 20231.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoGPLv2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open 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 languageJavaCJavaC++Clojure
Server operating systemsBSD
Linux
OS X
Windows
server-lessAll OS with a Java VMLinuxAll OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeschema-freeyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, bool, date, object_idyespartial 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.nononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionnoyesyes infoby using the Redis Search moduleyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)noyesnolimited SQL, making use of Apache Calcite
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
in-process shared libraryJDBC
ODBC
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
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
JavaC
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 proceduresnonoJava Stored Procedures and User-Defined FunctionsLuano
Triggersyesnoyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonenoneShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possiblenoneWith clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-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 ConsistencyEventual Consistency
Strong eventual consistency with CRDTs
Foreign keys infoReferential integritynono infotypically not needed, however similar functionality with collection joins possibleyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsnoACIDOptimistic locking, atomic execution of commands blocks and scriptsACID
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesyesyes 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.noyesyes
User concepts infoAccess controlAccess rights for users can be defined per objectnofine grained access rights according to SQL-standardsimple password-based access control and ACL
More information provided by the system vendor
CassandraEJDBH2KeyDBXTDB 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
CassandraEJDBH2KeyDBXTDB 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

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

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.

Present your product here