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 > Ehcache vs. Elasticsearch vs. H2 vs. XTDB

System Properties Comparison Ehcache vs. Elasticsearch vs. H2 vs. XTDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonElasticsearch  Xexclude from comparisonH2  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsA 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.A general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelKey-value storeSearch engineRelational 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
Score4.64
Rank#68  Overall
#8  Key-value stores
Score132.83
Rank#7  Overall
#1  Search engines
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score0.18
Rank#332  Overall
#46  Document stores
Websitewww.ehcache.orgwww.elastic.co/­elasticsearchwww.h2database.comgithub.com/­xtdb/­xtdb
www.xtdb.com
Technical documentationwww.ehcache.org/­documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmlwww.xtdb.com/­docs
DeveloperTerracotta Inc, owned by Software AGElasticThomas MuellerJuxt Ltd.
Initial release2009201020052019
Current release3.10.0, March 20228.6, January 20232.2.220, July 20231.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoMIT License
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 languageJavaJavaJavaClojure
Server operating systemsAll OS with a Java VMAll OS with a Java VMAll OS with a Java VMAll OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyes, extensible-data-notation format
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 indexesnoyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLnoSQL-like query languageyeslimited SQL, making use of Apache Calcite
APIs and other access methodsJCacheJava API
RESTful HTTP/JSON API
JDBC
ODBC
HTTP REST
JDBC
Supported programming languagesJava.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
JavaClojure
Java
Server-side scripts infoStored proceduresnoyesJava Stored Procedures and User-Defined Functionsno
Triggersyes infoCache Event Listenersyes infoby using the 'percolation' featureyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerShardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServeryesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectornono
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Eventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate Consistency
Foreign keys infoReferential integritynonoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourcenoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyesyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesMemcached and Redis integrationyes
User concepts infoAccess controlnofine grained access rights according to SQL-standard

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
EhcacheElasticsearchH2XTDB infoformerly named Crux
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

Recent citations in the news

Scaling Australia's Most Popular Online News Sites with Ehcache
6 December 2010, InfoQ.com

Atlassian asks customers to patch critical Jira vulnerability
22 July 2021, BleepingComputer

Critical Jira Flaw in Atlassian Could Lead to RCE
22 July 2021, Threatpost

DZone Coding Java JBoss 5 to 7 in 11 steps
9 January 2014, dzone.com

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

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

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

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

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