DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Ehcache vs. Elasticsearch vs. Google Cloud Spanner

System Properties Comparison Ehcache vs. Elasticsearch vs. Google Cloud Spanner

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonElasticsearch  Xexclude from comparisonGoogle Cloud Spanner  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 metricA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.
Primary database modelKey-value storeSearch engine
Vector DBMS
Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.62
Rank#65  Overall
#8  Key-value stores
Score132.32
Rank#8  Overall
#1  Search engines
#1  Vector DBMS
Score2.66
Rank#99  Overall
#50  Relational DBMS
Websitewww.ehcache.orgwww.elastic.co/­elasticsearchcloud.google.com/­spanner
Technical documentationwww.ehcache.org/­documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlcloud.google.com/­spanner/­docs
DeveloperTerracotta Inc, owned by Software AGElasticGoogle
Initial release200920102017
Current release3.10.0, March 20228.6, January 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoElastic Licensecommercial
Cloud-based only infoOnly available as a cloud servicenonoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaJava
Server operating systemsAll OS with a Java VMAll OS with a Java VMhosted
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyes
Typing infopredefined data types such as float or dateyesyesyes
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.nonono
Secondary indexesnoyes infoAll search fields are automatically indexedyes
SQL infoSupport of SQLnoSQL-like query languageyes infoQuery statements complying to ANSI 2011
APIs and other access methodsJCacheJava API
RESTful HTTP/JSON API
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
Supported programming languagesJava.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoyesno
Triggersyes infoCache Event Listenersyes infoby using the 'percolation' featureno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerShardingSharding
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServeryesMulti-source replication with 3 replicas for regional instances.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectoryes infousing Google Cloud Dataflow
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 integritynonoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrity
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourcenoACID infoStrict serializable isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesMemcached and Redis integrationno
User concepts infoAccess controlnoAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)

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
EhcacheElasticsearchGoogle Cloud Spanner
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

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

How to partition Sonatype Nexus Repository: Targets, privileges, and roles
9 February 2010, sonatype.com

Getting Started with Spring Boot[Video]
22 September 2018, oreilly.com

provided by Google News

Elastic Announces Elasticsearch Logsdb Index Mode to Reduce Log Data Storage Footprint by Up to 65%
13 December 2024, Business Wire

Amazon OpenSearch Service announces Standard and Extended Support dates for Elasticsearch and OpenSearch versions
7 November 2024, AWS Blog

Elasticsearch will be open source again as CTO declares changed landscape
2 September 2024, DevClass

Elasticsearch Was Great, But Vector Databases Are the Future
18 November 2024, The New Stack

The Elasticsearch cloud now subject to open-source licence
3 September 2024, TechHQ

provided by Google News

Google Cloud adds graph processing to Spanner, SQL support to Bigtable
1 August 2024, InfoWorld

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, Techzine Europe

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

Google Cloud Enhances Spanner with Dual-Region Configuration
1 August 2024, 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.

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

Neo4j logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

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

Present your product here