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

DBMS > CockroachDB vs. Heroic vs. KeyDB vs. RethinkDB

System Properties Comparison CockroachDB vs. Heroic vs. KeyDB vs. RethinkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHeroic  Xexclude from comparisonKeyDB  Xexclude from comparisonRethinkDB  Xexclude from comparison
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.Time Series DBMS built at Spotify based on Cassandra or Google Cloud Bigtable, and ElasticSearchAn ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsDBMS for the Web with a mechanism to push updated query results to applications in realtime.
Primary database modelRelational DBMSTime Series DBMSKey-value storeDocument store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score0.51
Rank#255  Overall
#21  Time Series DBMS
Score0.71
Rank#226  Overall
#33  Key-value stores
Score2.74
Rank#105  Overall
#19  Document stores
Websitewww.cockroachlabs.comgithub.com/­spotify/­heroicgithub.com/­Snapchat/­KeyDB
keydb.dev
rethinkdb.com
Technical documentationwww.cockroachlabs.com/­docsspotify.github.io/­heroicdocs.keydb.devrethinkdb.com/­docs
DeveloperCockroach LabsSpotifyEQ Alpha Technology Ltd.The Linux Foundation infosince July 2017
Initial release2015201420192009
Current release23.1.1, May 20232.4.1, August 2020
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infoBSD-3Open Source infoApache Version 2
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++C++
Server operating systemsLinux
macOS
Windows
LinuxLinux
OS X
Windows
Data schemedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyes infostring, binary, float, bool, date, geometry
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 indexesyesyes infovia Elasticsearchyes infoby using the Redis Search moduleyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonono
APIs and other access methodsJDBCHQL (Heroic Query Language, a JSON-based language)
HTTP API
Proprietary protocol infoRESP - REdis Serialization Protoco
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
Server-side scripts infoStored proceduresnonoLua
TriggersnononoClient-side triggers through changefeeds
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 RAFTShardingShardingSharding inforange based
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesMulti-source replication
Source-replica replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency
Eventual Consistency
Strong eventual consistency with CRDTs
Immediate Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoOptimistic locking, atomic execution of commands blocks and scriptsAtomic single-document operations
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes infoMVCC based
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesno
User concepts infoAccess controlRole-based access controlsimple password-based access control and ACLyes infousers and table-level permissions

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
CockroachDBHeroicKeyDBRethinkDB
DB-Engines blog posts

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

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

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

Review: Google Bigtable scales with ease
7 September 2016, InfoWorld

provided by Google News

Oh, snap! Snap snaps up database developer KeyDB
12 May 2022, TechCrunch

Snap Acquires KeyDB for Open-Source Services
17 May 2022, XR Today

Garnet–open-source faster cache-store speeds up applications, services
18 March 2024, microsoft.com

Dragonfly 1.0 Released For What Claims To Be The World's Fastest In-Memory Data Store
20 March 2023, Phoronix

Microsoft open-sources Garnet cache-store -- a Redis rival?
19 March 2024, The Stack

provided by Google News

MongoDB: The Popular Database for IoT
15 August 2023, Open Source For You

How to Use RethinkDB with Node.js Applications — SitePoint
16 December 2015, SitePoint

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

How to deploy RethinkDB using Docker
14 February 2018, Packt Hub

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.

Neo4j logo

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

AllegroGraph logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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