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

DBMS > Apache Druid vs. Cassandra vs. HyperSQL vs. mSQL vs. SwayDB

System Properties Comparison Apache Druid vs. Cassandra vs. HyperSQL vs. mSQL vs. SwayDB

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonCassandra  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonmSQL infoMini SQL  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessMultithreaded, transactional RDBMS written in Java infoalso known as HSQLDBmSQL (Mini SQL) is a simple and lightweight RDBMSAn embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelRelational DBMS
Time Series DBMS
Wide column storeRelational DBMSRelational DBMSKey-value store
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.25
Rank#90  Overall
#47  Relational DBMS
#7  Time Series DBMS
Score98.83
Rank#12  Overall
#1  Wide column stores
Score3.23
Rank#93  Overall
#48  Relational DBMS
Score1.27
Rank#169  Overall
#76  Relational DBMS
Score0.04
Rank#387  Overall
#61  Key-value stores
Websitedruid.apache.orgcassandra.apache.orghsqldb.orghughestech.com.au/­products/­msqlswaydb.simer.au
Technical documentationdruid.apache.org/­docs/­latest/­designcassandra.apache.org/­doc/­latesthsqldb.org/­web/­hsqlDocsFrame.html
DeveloperApache Software Foundation and contributorsApache Software Foundation infoApache top level project, originally developped by FacebookHughes TechnologiesSimer Plaha
Initial release20122008200119942018
Current release29.0.1, April 20244.1.3, July 20232.7.2, June 20234.4, October 2021
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoApache version 2Open Source infobased on BSD licensecommercial infofree licenses can be providedOpen Source infoGNU Affero GPL V3.0
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 languageJavaJavaJavaCScala
Server operating systemsLinux
OS X
Unix
BSD
Linux
OS X
Windows
All OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
Data schemeyes infoschema-less columns are supportedschema-freeyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyesno
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 indexesyesrestricted infoonly equality queries, not always the best performing solutionyesyesno
SQL infoSupport of SQLSQL for queryingSQL-like SELECT, DML and DDL statements (CQL)yesA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersno
APIs and other access methodsJDBC
RESTful HTTP/JSON API
Proprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
HTTP API infoJDBC via HTTP
JDBC
ODBC
JDBC
ODBC
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
All languages supporting JDBC/ODBC
Java
C
C++
Delphi
Java
Perl
PHP
Tcl
Java
Kotlin
Scala
Server-side scripts infoStored proceduresnonoJava, SQLnono
Triggersnoyesyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding infono "single point of failure"nonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesselectable replication factor infoRepresentation of geographical distribution of servers is possiblenonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integritynonoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanono infoAtomicity and isolation are supported for single operationsACIDnoAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyesnoyes
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.nonoyesnoyes
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemAccess rights for users can be defined per objectfine grained access rights according to SQL-standardnono
More information provided by the system vendor
Apache DruidCassandraHyperSQL infoalso known as HSQLDBmSQL infoMini SQLSwayDB
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

An Introduction to David Jones-Gilardi, Developer Relations
11 June 2024

Introducing Tejas Kumar, Developer Relations Engineer
7 June 2024

Indexing All of Wikipedia on a Laptop
5 June 2024

An Introduction to Phil Nash, Developer Relations
3 June 2024

Focus on Creativity, Not Clusters: DataStax Mission Control in Action!
30 May 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 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
Apache DruidCassandraHyperSQL infoalso known as HSQLDBmSQL infoMini SQLSwayDB
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

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Apache Druid Takes Its Place In The Pantheon Of Databases
16 June 2022, The Next Platform

How to connect DataGrip to Apache Druid | by Zisis Flokas
18 October 2021, Towards Data Science

provided by Google News

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

DataStax Enterprise 4.0 Gives in-Memory Option to Cassandra
31 May 2024, Data Center Knowledge

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

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

Higher Education PS rules out ghost students before PAC
29 November 2018, diggers.news

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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