DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Cassandra vs. Elasticsearch vs. Google Cloud Firestore vs. H2 vs. LokiJS

System Properties Comparison Apache Cassandra vs. Elasticsearch vs. Google Cloud Firestore vs. H2 vs. LokiJS

Editorial information provided by DB-Engines
NameApache Cassandra  Xexclude from comparisonElasticsearch  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMS
Primary database modelWide column storeSearch engineDocument storeRelational DBMSDocument store
Secondary database modelsVector DBMS infostarting with release V5Document store
Spatial DBMS
Vector DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score98.94
Rank#11  Overall
#1  Wide column stores
Score128.79
Rank#8  Overall
#1  Search engines
Score6.63
Rank#54  Overall
#9  Document stores
Score7.57
Rank#47  Overall
#30  Relational DBMS
Score0.44
Rank#256  Overall
#40  Document stores
Websitecassandra.apache.orgwww.elastic.co/­elasticsearchfirebase.google.com/­products/­firestorewww.h2database.comgithub.com/­techfort/­LokiJS
Technical documentationcassandra.apache.org/­doc/­latestwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlfirebase.google.com/­docs/­firestorewww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJS
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookElasticGoogleThomas Mueller
Initial release20082010201720052014
Current release5.0-rc1, July 20248.6, January 20232.2.220, July 2023
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoElastic LicensecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source
Cloud-based only infoOnly available as a cloud servicenonoyesnono
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 languageJavaJavaJavaJavaScript
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMhostedAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentschema-freeyesschema-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 indexesrestricted infoonly equality queries, not always the best performing solutionyes infoAll search fields are automatically indexedyesyesyes infovia views
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)SQL-like query languagenoyesno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
Java API
RESTful HTTP/JSON API
Android
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
JavaScript API
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Go
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
JavaJavaScript
Server-side scripts infoStored proceduresnoyesyes, Firebase Rules & Cloud FunctionsJava Stored Procedures and User-Defined FunctionsView functions in JavaScript
Triggersyesyes infoby using the 'percolation' featureyes, with Cloud Functionsyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"ShardingShardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleyesMulti-source replicationWith clustering: 2 database servers on different computers operate on identical copies of a databasenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesES-Hadoop ConnectorUsing Cloud Dataflownoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynononoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsnoyesACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyesyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noMemcached and Redis integrationyesyes
User concepts infoAccess controlAccess rights for users can be defined per objectAccess rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.fine grained access rights according to SQL-standardno
More information provided by the system vendor
Apache CassandraElasticsearchGoogle Cloud FirestoreH2LokiJS
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 metricsApache Cassandra 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

How to Monitor DataStax-Powered RAG Applications with Fiddler
19 September 2024

How Knowledge Graph RAG Boosts LLM Results
18 September 2024

How to Chunk Text in JavaScript for Your RAG Application
18 September 2024

Precision and Efficiency in Domain-Specific Text2SQL Conversion: Introducing Skypoint AI Platform’s SherloQ
11 September 2024

Now in LangChain: Graph Vector Store, a Simple Way to Add Structured Data to RAG Applications
11 September 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

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

More resources
Apache CassandraElasticsearchGoogle Cloud FirestoreH2LokiJS
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

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

show all

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

show all

Recent citations in the news

New Apache Cassandra 5.0 gives open source NoSQL database a scalability and performance boost
6 September 2024, VentureBeat

Apache Cassandra introduces version 5.0 of open-source NoSQL database
9 September 2024, Techzine Europe

Migrate Cassandra workloads to Amazon Keyspaces using CQLReplicator
4 September 2024, AWS Blog

Cassandra redesigns indexing, storage management for 5.0 release
10 September 2024, The Register

How Uber ensures Apache Cassandra®’s tolerance for single-zone failure
20 June 2024, Uber

provided by Google News

Unsecured Elasticsearch cluster exposes over 3M vehicle records
18 September 2024, SC Media

AWS hands OpenSearch to Linux Foundation – is this why Elasticsearch was made open source again?
16 September 2024, DevClass

Elastic Announces Open Source License for Elasticsearch and Kibana Source Code
29 August 2024, Business Wire

The Elasticsearch cloud now subject to open-source licence
3 September 2024, TechHQ

Netflix Uses Elasticsearch Percolate Queries to Implement Reverse Searches Efficiently
29 April 2024, InfoQ.com

provided by Google News

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

Google's AI-First Strategy Brings Vector Support To Cloud Databases
1 March 2024, Forbes

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

NoSQL on the Cloud With Python
7 August 2020, Towards Data Science

Spring Boot Tutorial: Building Microservices Deployed to Google Cloud
26 March 2020, InfoQ.com

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News



Share this page

Featured Products

RaimaDB logo

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

Milvus logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here