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 > Elasticsearch vs. H2 vs. H2GIS vs. LokiJS

System Properties Comparison Elasticsearch vs. H2 vs. H2GIS vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonH2  Xexclude from comparisonH2GIS  Xexclude from comparisonLokiJS  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.Spatial extension of H2In-memory JavaScript DBMS
Primary database modelSearch engineRelational DBMSSpatial DBMSDocument store
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMSRelational 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.00
Rank#383  Overall
#7  Spatial DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Websitewww.elastic.co/­elasticsearchwww.h2database.comwww.h2gis.orggithub.com/­techfort/­LokiJS
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmlwww.h2gis.org/­docs/­hometechfort.github.io/­LokiJS
DeveloperElasticThomas MuellerCNRS
Initial release2010200520132014
Current release8.6, January 20232.2.220, July 2023
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoLGPL 3.0Open Source
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 languageJavaJavaJavaJavaScript
Server operating systemsAll OS with a Java VMAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyesschema-free
Typing infopredefined data types such as float or dateyesyesyesno
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 indexedyesyesyes infovia views
SQL infoSupport of SQLSQL-like query languageyesyesno
APIs and other access methodsJava API
RESTful HTTP/JSON API
JDBC
ODBC
JavaScript API
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
JavaJavaJavaScript
Server-side scripts infoStored proceduresyesJava Stored Procedures and User-Defined Functionsyes infobased on H2View functions in JavaScript
Triggersyes infoby using the 'percolation' featureyesyesyes
Partitioning methods infoMethods for storing different data on different nodesShardingnonenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infobased on H2none
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornonoyes
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 ConsistencyImmediate Consistencynone
Foreign keys infoReferential integritynoyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyesyesyes 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.Memcached and Redis integrationyesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardyes infobased on H2no

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
ElasticsearchH2H2GISLokiJS
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



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

Milvus logo

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Neo4j logo

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

RaimaDB logo

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

Present your product here