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. NCache

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

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 comparisonNCache  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 DBMSOpen-Source and Enterprise in-memory Key-Value Store
Primary database modelSearch engineRelational DBMSDocument storeKey-value store
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMSDocument store
Search engine infoUsing distributed Lucene
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
Score0.94
Rank#195  Overall
#29  Key-value stores
Websitewww.elastic.co/­elasticsearchwww.h2database.comgithub.com/­techfort/­LokiJSwww.alachisoft.com/­ncache
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSwww.alachisoft.com/­resources/­docs
DeveloperElasticThomas MuellerAlachisoft
Initial release2010200520142005
Current release8.6, January 20232.2.220, July 20235.3.3, April 2024
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoEnterprise Edition available
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 languageJavaJavaJavaScriptC#, .NET, .NET Core, Java
Server operating systemsAll OS with a Java VMAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Linux
Windows
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnopartial infoSupported data types are Lists, Queues, Hashsets, Dictionary and Counter
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 viewsyes
SQL infoSupport of SQLSQL-like query languageyesnoSQL-like query syntax and LINQ for searching the cache. Cache Synchronization with SQL Server using SQL dependency.
APIs and other access methodsJava API
RESTful HTTP/JSON API
JDBC
ODBC
JavaScript APIIDistributedCache
JCache
LINQ
Proprietary native API
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
JavaJavaScript.Net
.Net Core
C#
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresyesJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptno infosupport for stored procedures with SQL-Server CLR
Triggersyes infoby using the 'percolation' featureyesyesyes infoNotifications
Partitioning methods infoMethods for storing different data on different nodesShardingnonenoneyes
Replication methods infoMethods for redundantly storing data on multiple nodesyesWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneyes, with selectable consistency level
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
Immediate Consistency
Strong Eventual Consistency over WAN with Conflict Resolution using Bridge Topology
Foreign keys infoReferential integritynoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDno infoatomic operations within a single collection possibleoptimistic locking and pessimistic locking
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 integrationyesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardnoAuthentication to access the cache via Active Directory/LDAP (possible roles: user, administrator)
More information provided by the system vendor
ElasticsearchH2LokiJSNCache
Specific characteristicsNCache has been the market leader in .NET Distributed Caching since 2005 . NCache...
» more
Competitive advantagesNCache is 100% .NET/ .NET Core based which fully supports ASP.NET Core Sessions ,...
» more
Typical application scenariosNCache enables industries like retail, finance, banking IoT, travel, ecommerce, healthcare...
» more
Key customersBank of America, Citi, Natures Way, Charter Spectrum, Barclays, Henry Schein, GBM,...
» more
Market metricsMarket Leader in .NET Distributed Caching since 2005.
» more
Licensing and pricing modelsNCache Open Source is free on an as-is basis without any support. NCache Enterprise...
» more

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

The Total Economic Impact™️ of Elasticsearch
8 May 2024, BankInfoSecurity.com

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

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

How to use NCache in ASP.Net Core
25 February 2019, InfoWorld

Custom Response Caching Using NCache in ASP.NET Core
22 April 2020, InfoQ.com

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

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Neo4j logo

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

Present your product here