DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. H2 vs. MySQL vs. Riak KV vs. TypeDB

System Properties Comparison Cassandra vs. H2 vs. MySQL vs. Riak KV vs. TypeDB

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonH2  Xexclude from comparisonMySQL  Xexclude from comparisonRiak KV  Xexclude from comparisonTypeDB infoformerly named Grakn  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 RDBMSDistributed, fault tolerant key-value storeTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelWide column storeRelational DBMSRelational DBMS infoKey/Value like access via memcached APIKey-value store infowith links between data sets and object tags for the creation of secondary indexesGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
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
Score4.10
Rank#82  Overall
#9  Key-value stores
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitecassandra.apache.orgwww.h2database.comwww.mysql.comtypedb.com
Technical documentationcassandra.apache.org/­doc/­latestwww.h2database.com/­html/­main.htmldev.mysql.com/­docwww.tiot.jp/­riak-docs/­riak/­kv/­latesttypedb.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookThomas MuellerOracle infosince 2010, originally MySQL AB, then SunOpenSource, formerly Basho TechnologiesVaticle
Initial release20082005199520092016
Current release4.1.3, July 20232.2.220, July 20238.4.0, April 20243.2.0, December 20222.26.3, January 2024
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 infoApache version 2, commercial enterprise editionOpen Source infoGPL Version 3, commercial licenses available
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.Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageJavaJavaC and C++ErlangJava
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
Linux
OS X
Linux
OS X
Windows
Data schemeschema-freeyesyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes
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.nonoyesnono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesrestrictedyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yesyes infowith proprietary extensionsnono
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 API
Native Erlang Interface
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
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
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsyes infoproprietary syntaxErlangno
Triggersyesyesyesyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonehorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding infono "single point of failure"Sharding infoby using Cassandra
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
selectable replication factorMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonoyesyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyImmediate ConsistencyEventual ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes infonot for MyISAM storage engineno infolinks between data sets can be storedno infosubstituted by the relationship feature
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 enginenoACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesno
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 rolesyes, using Riak Securityyes infoat REST API level; other APIs in progress
More information provided by the system vendor
CassandraH2MySQLRiak KVTypeDB infoformerly named Grakn
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
TypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
TypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Life sciences : TypeDB makes working with biological data much easier and accelerates...
» 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
Apache f or language drivers, and AGPL and Commercial for the database server. The...
» 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 Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» 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

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
CassandraH2MySQLRiak KVTypeDB infoformerly named Grakn
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

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

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

Ultimate MySQL Workbench Installation Guide [2024 Edition]
15 February 2024, Simplilearn

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

MySQL HeatWave Lakehouse Support for Parquet and Avro file formats
8 November 2023, Oracle

Rule::array() and whereJsonOverlaps() for MySQL in Laravel 11.7
7 May 2024, Laravel News

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Basho distributes Riak to more customers - DCD
28 November 2013, DatacenterDynamics

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

Bayer's Approach to Modelling and Loading Data at Scale
16 August 2021, Towards Data Science

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

RaimaDB logo

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

SingleStore logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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