DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Ehcache vs. Elasticsearch vs. Titan

System Properties Comparison CockroachDB vs. Ehcache vs. Elasticsearch vs. Titan

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonEhcache  Xexclude from comparisonElasticsearch  Xexclude from comparisonTitan  Xexclude from comparison
Titan has been decommisioned after the takeover by Datastax. It will be removed from the DB-Engines ranking. A fork has been open-sourced as JanusGraph.
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.A 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 metricTitan is a Graph DBMS optimized for distributed clusters.
Primary database modelRelational DBMSKey-value storeSearch engineGraph DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score4.64
Rank#68  Overall
#8  Key-value stores
Score132.83
Rank#7  Overall
#1  Search engines
Websitewww.cockroachlabs.comwww.ehcache.orgwww.elastic.co/­elasticsearchgithub.com/­thinkaurelius/­titan
Technical documentationwww.cockroachlabs.com/­docswww.ehcache.org/­documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlgithub.com/­thinkaurelius/­titan/­wiki
DeveloperCockroach LabsTerracotta Inc, owned by Software AGElasticAurelius, owned by DataStax
Initial release2015200920102012
Current release24.1.0, May 20243.10.0, March 20228.6, January 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2; commercial licenses availableOpen Source infoElastic LicenseOpen Source infoApache license, version 2.0
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 languageGoJavaJavaJava
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAll OS with a Java VMLinux
OS X
Unix
Windows
Data schemedynamic schemaschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyes
Typing infopredefined data types such as float or dateyesyesyesyes
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 indexesyesnoyes infoAll search fields are automatically indexedyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoSQL-like query languageno
APIs and other access methodsJDBCJCacheJava API
RESTful HTTP/JSON API
Java API
TinkerPop Blueprints
TinkerPop Frames
TinkerPop Gremlin
TinkerPop Rexster
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Clojure
Java
Python
Server-side scripts infoStored proceduresnonoyesyes
Triggersnoyes infoCache Event Listenersyes infoby using the 'percolation' featureyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTSharding infoby using Terracotta ServerShardingyes infovia pluggable storage backends
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infoby using Terracotta Serveryesyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoES-Hadoop Connectoryes infovia Faunus, a graph analytics engine
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyTunable 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, allEventual Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesnonoyes infoRelationships in graph
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyes infosupports JTA and can work as an XA resourcenoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyes infousing a tiered cache-storage approachyesyes infoSupports various storage backends: Cassandra, HBase, Berkeley DB, Akiban, Hazelcast
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesMemcached and Redis integration
User concepts infoAccess controlRole-based access controlnoUser authentification and security via Rexster Graph Server

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

Graph DBMS increased their popularity by 500% within the last 2 years
3 March 2015, Paul Andlinger

Graph DBMSs are gaining in popularity faster than any other database category
21 January 2014, Matthias Gelbmann

show all

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

provided by Google News

Ehcache 2.0: Write-Behind Caching and JTA Support
11 May 2010, InfoQ.com

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

Hazelcast signs Java speed king to its in-memory data-grid crew
21 January 2014, The Register

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

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

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

Introducing Elasticsearch Vector Database to Azure OpenAI Service On Your Data (Preview)
26 March 2024, GovTech

Elasticsearch Open Inference API Now Supports Microsoft Azure AI Studio
22 May 2024, businesswire.com

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

provided by Google News

Amazon DynamoDB Storage Backend for Titan: Distributed Graph Database | Amazon Web Services
24 August 2015, AWS Blog

JanusGraph Picks Up Where TitanDB Left Off
13 January 2017, Datanami

DataStax acquires Aurelius, the startup behind the Titan graph database
3 February 2015, VentureBeat

DSE Graph review: Graph database does double duty
14 November 2019, InfoWorld

Database Deep Dives: JanusGraph
8 August 2019, ibm.com

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