DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Dgraph vs. RethinkDB vs. TerarkDB

System Properties Comparison CockroachDB vs. Dgraph vs. RethinkDB vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDgraph  Xexclude from comparisonRethinkDB  Xexclude from comparisonTerarkDB  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.Distributed and scalable native Graph DBMSDBMS for the Web with a mechanism to push updated query results to applications in realtime.A key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSGraph DBMSDocument storeKey-value 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
Score1.45
Rank#156  Overall
#15  Graph DBMS
Score2.74
Rank#105  Overall
#19  Document stores
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitewww.cockroachlabs.comdgraph.iorethinkdb.comgithub.com/­bytedance/­terarkdb
Technical documentationwww.cockroachlabs.com/­docsdgraph.io/­docsrethinkdb.com/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperCockroach LabsDgraph Labs, Inc.The Linux Foundation infosince July 2017ByteDance, originally Terark
Initial release2015201620092016
Current release24.1.0, May 20242.4.1, August 2020
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infoApache Version 2commercial inforestricted open source version 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 languageGoGoC++C++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
Linux
OS X
Windows
Data schemedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, binary, float, bool, date, geometryno
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 indexesyesyesyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonono
APIs and other access methodsJDBCGraphQL query language
gRPC (using protocol buffers) API
HTTP API
C++ API
Java API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
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
C++
Java
Server-side scripts infoStored proceduresnonono
TriggersnonoClient-side triggers through changefeedsno
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 RAFTyesSharding inforange basednone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSynchronous replication via RaftSource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDAtomic single-document operationsno
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoMVCC basedyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlRole-based access controlno infoPlanned for future releasesyes infousers and table-level permissionsno

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

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

The 12 Best Graph Databases to Consider for 2024
22 October 2023, Solutions Review

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, businesswire.com

Dgraph Raises $6M in Seed Funding
20 July 2022, FinSMEs

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

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here