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. MySQL vs. XTDB

System Properties Comparison Cassandra vs. H2 vs. MySQL vs. XTDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonH2  Xexclude from comparisonMySQL  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.Widely used open source RDBMSA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelWide column storeRelational DBMSRelational DBMS infoKey/Value like access via memcached APIDocument store
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMSDocument store
Spatial 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
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score0.11
Rank#343  Overall
#46  Document stores
Websitecassandra.apache.orgwww.h2database.comwww.mysql.comgithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationcassandra.apache.org/­doc/­latestwww.h2database.com/­html/­main.htmldev.mysql.com/­docwww.xtdb.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookThomas MuellerOracle infosince 2010, originally MySQL AB, then SunJuxt Ltd.
Initial release2008200519952019
Current release4.1.3, July 20232.2.220, July 20238.4.0, April 20241.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoMIT License
Cloud-based only infoOnly available as a cloud servicenononono
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.Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageJavaJavaC and C++Clojure
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
All OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyes, 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.nonoyesno
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yesyes infowith proprietary extensionslimited SQL, making use of Apache Calcite
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBC
ODBC
ADO.NET
JDBC
ODBC
Proprietary native API
HTTP REST
JDBC
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
JavaAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Clojure
Java
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsyes infoproprietary syntaxno
Triggersyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricnone
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 databaseMulti-source replication
Source-replica replication
yes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonono
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 integritynoyesyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyesyesyes, 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 objectfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or roles
More information provided by the system vendor
CassandraH2MySQLXTDB 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
Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
CassandraH2MySQLXTDB 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

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

Recent citations in the news

What Is Cassandra? Working, Features, and Uses - Spiceworks Inc
17 August 2023, Spiceworks News and Insights

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

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

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

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

provided by Google News

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, Oracle

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

General Availability: Azure Database for MySQL Import feature for Azure Database for MySQL Single to Flexible Server ...
17 January 2024, azure.microsoft.com

provided by Google News



Share this page

Featured Products

SingleStore logo

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

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

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