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. RocksDB vs. ToroDB

System Properties Comparison CockroachDB vs. Ehcache vs. RocksDB vs. ToroDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonEhcache  Xexclude from comparisonRocksDB  Xexclude from comparisonToroDB  Xexclude from comparison
ToroDB seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
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 optionsEmbeddable persistent key-value store optimized for fast storage (flash and RAM)A MongoDB-compatible JSON document store, built on top of PostgreSQL
Primary database modelRelational DBMSKey-value storeKey-value storeDocument store
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
Score3.41
Rank#86  Overall
#11  Key-value stores
Websitewww.cockroachlabs.comwww.ehcache.orgrocksdb.orggithub.com/­torodb/­server
Technical documentationwww.cockroachlabs.com/­docswww.ehcache.org/­documentationgithub.com/­facebook/­rocksdb/­wiki
DeveloperCockroach LabsTerracotta Inc, owned by Software AGFacebook, Inc.8Kdata
Initial release2015200920132016
Current release24.1.0, May 20243.10.0, March 20229.2.1, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache Version 2; commercial licenses availableOpen Source infoBSDOpen Source infoAGPL-V3
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 languageGoJavaC++Java
Server operating systemsLinux
macOS
Windows
All OS with a Java VMLinuxAll OS with a Java 7 VM
Data schemedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnoyes infostring, integer, double, boolean, date, object_id
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 indexesyesnono
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnono
APIs and other access methodsJDBCJCacheC++ API
Java API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaC
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresnonono
Triggersnoyes infoCache Event Listenersno
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 Serverhorizontal partitioningSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infoby using Terracotta ServeryesSource-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyTunable Consistency (Strong, Eventual, Weak)Eventual Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyes infosupports JTA and can work as an XA resourceyesno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyes 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.noyesyes
User concepts infoAccess controlRole-based access controlnonoAccess rights for users and roles

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
3rd partiesSpeedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBEhcacheRocksDBToroDB
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

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

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

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

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

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Intel Linux Optimizations Help AMD EPYC "Genoa" Improve Scaling To 384 Threads
6 April 2023, Phoronix

The Journey to a Million Ops / Sec / Node in Venice
16 March 2024, InfoQ.com

Facebook's MyRocks Truly Rocks!
21 September 2020, Open Source For You

provided by Google News



Share this page

Featured Products

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.

Milvus logo

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

Present your product here