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 > Apache Druid vs. H2 vs. HyperSQL vs. KairosDB vs. LokiJS

System Properties Comparison Apache Druid vs. H2 vs. HyperSQL vs. KairosDB vs. LokiJS

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonKairosDB  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataFull-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 HSQLDBDistributed Time Series DBMS based on Cassandra or H2In-memory JavaScript DBMS
Primary database modelRelational DBMS
Time Series DBMS
Relational DBMSRelational DBMSTime Series DBMSDocument store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.34
Rank#88  Overall
#48  Relational DBMS
#7  Time Series DBMS
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score0.62
Rank#239  Overall
#20  Time Series DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Websitedruid.apache.orgwww.h2database.comhsqldb.orggithub.com/­kairosdb/­kairosdbgithub.com/­techfort/­LokiJS
Technical documentationdruid.apache.org/­docs/­latest/­designwww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmlkairosdb.github.iotechfort.github.io/­LokiJS
DeveloperApache Software Foundation and contributorsThomas Mueller
Initial release20122005200120132014
Current release29.0.1, April 20242.2.220, July 20232.7.2, June 20231.2.2, November 2018
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licenseOpen Source infoApache 2.0Open Source
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.
Implementation languageJavaJavaJavaJavaJavaScript
Server operating systemsLinux
OS X
Unix
All OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesLinux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeyes infoschema-less columns are supportedyesyesschema-freeschema-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 indexesyesyesyesnoyes infovia views
SQL infoSupport of SQLSQL for queryingyesyesnono
APIs and other access methodsJDBC
RESTful HTTP/JSON API
JDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
Graphite protocol
HTTP REST
Telnet API
JavaScript API
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
JavaAll languages supporting JDBC/ODBC
Java
Java
JavaScript infoNode.js
PHP
Python
JavaScript
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined FunctionsJava, SQLnoView functions in JavaScript
Triggersnoyesyesnoyes
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basednonenoneSharding infobased on Cassandranone
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneselectable replication factor infobased on Cassandranone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual Consistency infobased on Cassandra
Immediate Consistency infobased on Cassandra
none
Foreign keys infoReferential integritynoyesyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDnono infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
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.noyesyesnoyes
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardsimple password-based access controlno

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 DruidH2HyperSQL infoalso known as HSQLDBKairosDBLokiJS
DB-Engines blog posts

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

show all

Recent citations in the news

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

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

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

Imply Data gives Apache Druid schema auto-discover capability
6 June 2023, SiliconANGLE News

Imply Announces Automatic Schema Discovery for Apache Druid, Reinforcing Druid's Leadership for Real-Time ...
6 June 2023, businesswire.com

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

Real-Time Performance and Health Monitoring Using Netdata
2 September 2019, CNX Software

Expo: Real Time A/B Testing and Monitoring with Spark Streaming and Kafka at Walmart Labs
24 May 2019, 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.

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.

AllegroGraph logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here