DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Ehcache vs. Elasticsearch vs. IBM Db2 vs. Sphinx

System Properties Comparison Ehcache vs. Elasticsearch vs. IBM Db2 vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonElasticsearch  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonSphinx  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 metricCommon in IBM host environments, 2 different versions for host and Windows/LinuxOpen source search engine for searching in data from different sources, e.g. relational databases
Primary database modelKey-value storeSearch engineRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBSearch engine
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.89
Rank#67  Overall
#8  Key-value stores
Score135.35
Rank#7  Overall
#1  Search engines
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score5.98
Rank#56  Overall
#5  Search engines
Websitewww.ehcache.orgwww.elastic.co/­elasticsearchwww.ibm.com/­products/­db2sphinxsearch.com
Technical documentationwww.ehcache.org/­documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.ibm.com/­docs/­en/­db2sphinxsearch.com/­docs
DeveloperTerracotta Inc, owned by Software AGElasticIBMSphinx Technologies Inc.
Initial release200920101983 infohost version2001
Current release3.10.0, March 20228.6, January 202312.1, October 20163.5.1, February 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoElastic Licensecommercial infofree version is availableOpen Source infoGPL version 2, commercial licence 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 languageJavaJavaC and C++C++
Server operating systemsAll OS with a Java VMAll OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
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.nono
Secondary indexesnoyes infoAll search fields are automatically indexedyesyes infofull-text index on all search fields
SQL infoSupport of SQLnoSQL-like query languageyesSQL-like query language (SphinxQL)
APIs and other access methodsJCacheJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Proprietary protocol
Supported programming languagesJava.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresnoyesyesno
Triggersyes infoCache Event Listenersyes infoby using the 'percolation' featureyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerShardingSharding infoonly with Windows/Unix/Linux VersionSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta Serveryesyes infowith separate tools (MQ, InfoSphere)none
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, all
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 resourcenoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyesyes infoThe original contents of fields are not stored in the Sphinx index.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesMemcached and Redis integration
User concepts infoAccess controlnofine grained access rights according to SQL-standardno

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
EhcacheElasticsearchIBM Db2 infoformerly named DB2 or IBM Database 2Sphinx
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

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

Jira Data Center user? Here's a critical Ehcache vulnerability to spoil your day
22 July 2021, The Register

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

Migration From JBoss 5 to JBoss 7: All It Takes Is 11 Easy Steps
3 June 2021, hackernoon.com

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

provided by Google News

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

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Elastic Reports 8x Speed and 32x Efficiency Gains for Elasticsearch and Lucene Vector Database
26 April 2024, businesswire.com

Elasticsearch Changes Name to Elastic to Reflect Wide Adoption Beyond Search
29 April 2024, Yahoo Singapore News

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

provided by Google News

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Performance optimization of full load and ongoing replication tasks from self-managed Db2 to Amazon RDS for Db2 ...
24 April 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Googles Newest Challenger
11 January 2024, Free Press Journal

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

provided by Google News



Share this page

Featured Products

AllegroGraph logo

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

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

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.

Present your product here