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

DBMS > Elasticsearch vs. H2 vs. LokiJS vs. Riak KV

System Properties Comparison Elasticsearch vs. H2 vs. LokiJS vs. Riak KV

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparisonRiak KV  Xexclude from comparison
DescriptionA 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 metricFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSDistributed, fault tolerant key-value store
Primary database modelSearch engineRelational DBMSDocument storeKey-value store infowith links between data sets and object tags for the creation of secondary indexes
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score135.35
Rank#7  Overall
#1  Search engines
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score4.10
Rank#82  Overall
#9  Key-value stores
Websitewww.elastic.co/­elasticsearchwww.h2database.comgithub.com/­techfort/­LokiJS
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSwww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperElasticThomas MuellerOpenSource, formerly Basho Technologies
Initial release2010200520142009
Current release8.6, January 20232.2.220, July 20233.2.0, December 2022
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoApache version 2, commercial enterprise edition
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJavaJavaScriptErlang
Server operating systemsAll OS with a Java VMAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Linux
OS X
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnono
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.nononono
Secondary indexesyes infoAll search fields are automatically indexedyesyes infovia viewsrestricted
SQL infoSupport of SQLSQL-like query languageyesnono
APIs and other access methodsJava API
RESTful HTTP/JSON API
JDBC
ODBC
JavaScript APIHTTP API
Native Erlang Interface
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
JavaJavaScriptC infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresyesJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptErlang
Triggersyes infoby using the 'percolation' featureyesyesyes infopre-commit hooks and post-commit hooks
Partitioning methods infoMethods for storing different data on different nodesShardingnonenoneSharding infono "single point of failure"
Replication methods infoMethods for redundantly storing data on multiple nodesyesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneselectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornoyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencynoneEventual Consistency
Foreign keys infoReferential integritynoyesnono infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDno infoatomic operations within a single collection possibleno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.Memcached and Redis integrationyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardnoyes, using Riak Security

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
ElasticsearchH2LokiJSRiak KV
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

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

show all

Recent citations in the news

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

Using Elasticsearch to Offload Search and Analytics from DynamoDB: Pros and Cons
10 May 2024, hackernoon.com

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

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Basho distributes Riak to more customers - DCD
28 November 2013, DatacenterDynamics

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

AllegroGraph logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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