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

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparisonMySQL  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.In-memory JavaScript DBMSWidely used open source RDBMS
Primary database modelWide column storeRelational DBMSDocument storeRelational DBMS infoKey/Value like access via memcached API
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
Score104.59
Rank#12  Overall
#1  Wide column stores
Score8.14
Rank#50  Overall
#32  Relational DBMS
Score0.52
Rank#259  Overall
#41  Document stores
Score1101.50
Rank#2  Overall
#2  Relational DBMS
Websitecassandra.apache.orgwww.h2database.comgithub.com/­techfort/­LokiJSwww.mysql.com
Technical documentationcassandra.apache.org/­doc/­latestwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSdev.mysql.com/­doc
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookThomas MuellerOracle infosince 2010, originally MySQL AB, then Sun
Initial release2008200520141995
Current release4.1.3, July 20232.2.220, July 20238.3.0, January 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are available
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 languageJavaJavaJavaScriptC and C++
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
Linux
OS X
Solaris
Windows
Data schemeschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes
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.nononoyes
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyes infovia viewsyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yesnoyes infowith proprietary extensions
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBC
ODBC
JavaScript APIADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
JavaJavaScriptAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptyes infoproprietary syntax
Triggersyesyesyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonenonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabric
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 databasenoneMulti-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integritynoyesnoyes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDno infoatomic operations within a single collection possibleACID infonot for MyISAM storage engine
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
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-standardnoUsers with fine-grained authorization concept infono user groups or roles
More information provided by the system vendor
CassandraH2LokiJSMySQL
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
News

Microsoft and DataStax Simplify Building AI Agents with Legacy Apps and Data
26 March 2024

How PTC Is Transforming eCommerce with Generative AI, DataStax Astra DB, and Vector Search
21 March 2024

The Astra Assistants API Now Supports Streaming: Because Who Wants to Wait?
19 March 2024

DataStax Integrates NVIDIA NIM for Deploying AI Models
18 March 2024

LangChain and DataStax Astra DB Power Esynergy’s Retrieve-Augment Architecture for Sales Copilot
14 March 2024

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 partiesCassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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

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

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

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

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

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
17 August 2023, Spiceworks News and Insights

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

Cassandra: Highly Scalable Database Out of the Box
27 December 2023, 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

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

Vitess Version 19 Released: Ends Support for MySQL 5.7, Improves MySQL Compatibility
27 March 2024, InfoQ.com

Oracle Academy continues support for MySQL Community in Hong Kong and Taiwan
26 March 2024, blogs.oracle.com

Unlock insights on Amazon RDS for MySQL data with zero-ETL integration to Amazon Redshift | Amazon Web Services
21 March 2024, AWS Blog

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

AllegroGraph logo

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

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

Present your product here