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

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

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

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonElasticsearch  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataA 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 modelRelational DBMS
Time Series DBMS
Search engineDocument storeRelational DBMSDocument store
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMS
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
Score132.83
Rank#7  Overall
#1  Search engines
Score7.36
Rank#53  Overall
#9  Document stores
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Websitedruid.apache.orgwww.elastic.co/­elasticsearchfirebase.google.com/­products/­firestorewww.h2database.comgithub.com/­techfort/­LokiJS
Technical documentationdruid.apache.org/­docs/­latest/­designwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlfirebase.google.com/­docs/­firestorewww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJS
DeveloperApache Software Foundation and contributorsElasticGoogleThomas Mueller
Initial release20122010201720052014
Current release29.0.1, April 20248.6, January 20232.2.220, July 2023
License infoCommercial or Open SourceOpen Source infoApache license v2Open 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.
Implementation languageJavaJavaJavaJavaScript
Server operating systemsLinux
OS X
Unix
All OS with a Java VMhostedAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeyes infoschema-less columns are supportedschema-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 indexesyesyes infoAll search fields are automatically indexedyesyesyes infovia views
SQL infoSupport of SQLSQL for queryingSQL-like query languagenoyesno
APIs and other access methodsJDBC
RESTful HTTP/JSON API
Java API
RESTful HTTP/JSON API
Android
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
JavaScript API
Supported programming languagesClojure
JavaScript
PHP
Python
R
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
Triggersnoyes infoby using the 'percolation' featureyes, with Cloud Functionsyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedShardingShardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesyesMulti-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 methodsnoES-Hadoop ConnectorUsing Cloud Dataflownoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual 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 datanonoyesACIDno 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 controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemAccess 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

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

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

More resources
Apache DruidElasticsearchGoogle 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

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

8 Powerful Alternatives to Elasticsearch
25 April 2024, Yahoo Finance

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Introducing Elasticsearch Vector Database to Azure OpenAI Service On Your Data (Preview)
26 March 2024, insider.govtech.com

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

Elasticsearch Open Inference API Supports Cohere Rerank 3
11 April 2024, Business Wire

provided by Google News

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

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

Google launches Cloud Firestore, a new document database for app developers
3 October 2017, TechCrunch

Google's Cloud-Native NoSQL Database Cloud Firestore Is Now Generally Available
8 February 2019, InfoQ.com

Firestore and Python | NoSQL on Google Cloud
7 August 2020, Towards Data Science

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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