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. Firebase Realtime Database vs. H2 vs. HyperSQL vs. Spark SQL

System Properties Comparison Cassandra vs. Firebase Realtime Database vs. H2 vs. HyperSQL vs. Spark SQL

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessCloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelWide column storeDocument storeRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score98.83
Rank#12  Overall
#1  Wide column stores
Score13.64
Rank#39  Overall
#6  Document stores
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score3.23
Rank#93  Overall
#48  Relational DBMS
Score18.04
Rank#33  Overall
#20  Relational DBMS
Websitecassandra.apache.orgfirebase.google.com/­products/­realtime-databasewww.h2database.comhsqldb.orgspark.apache.org/­sql
Technical documentationcassandra.apache.org/­doc/­latestfirebase.google.com/­docs/­databasewww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmlspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookGoogle infoacquired by Google 2014Thomas MuellerApache Software Foundation
Initial release20082012200520012014
Current release4.1.3, July 20232.2.220, July 20232.7.2, June 20233.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoApache version 2commercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licenseOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenoyesnonono
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 languageJavaJavaJavaScala
Server operating systemsBSD
Linux
OS X
Windows
hostedAll OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesLinux
OS X
Windows
Data schemeschema-freeschema-freeyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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 indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyesno
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)noyesyesSQL-like DML and DDL statements
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
Android
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
JDBC
ODBC
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
Java
JavaScript
Objective-C
JavaAll languages supporting JDBC/ODBC
Java
Java
Python
R
Scala
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'Java Stored Procedures and User-Defined FunctionsJava, SQLno
TriggersyesCallbacks are triggered when data changesyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonenoneyes, utilizing Spark Core
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 databasenonenone
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
Eventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsyesACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yesyes
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 objectyes, based on authentication and database rulesfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardno
More information provided by the system vendor
CassandraFirebase Realtime DatabaseH2HyperSQL infoalso known as HSQLDBSpark SQL
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
CassandraFirebase Realtime DatabaseH2HyperSQL infoalso known as HSQLDBSpark SQL
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

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

Recent citations in the news

ScyllaDB 6.0 advances open source database scalability
12 June 2024, 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

How Zalando migrated their shopping carts to Amazon DynamoDB from Apache Cassandra | Amazon Web Services
11 October 2023, AWS Blog

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

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

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Performance Insights from Sigma Rule Detections in Spark Streaming
1 June 2024, Towards Data Science

Simba Technologies(R) Introduces New, Powerful JDBC Driver With SQL Connector for Apache Spark(TM)
17 March 2024, Yahoo Singapore News

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

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