DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Dgraph vs. Heroic vs. TiDB

System Properties Comparison CockroachDB vs. Dgraph vs. Heroic vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDgraph  Xexclude from comparisonHeroic  Xexclude from comparisonTiDB  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 DBMSTime Series DBMS built at Spotify based on Cassandra or Google Cloud Bigtable, and ElasticSearchTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSGraph DBMSTime Series DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.58
Rank#68  Overall
#36  Relational DBMS
Score1.61
Rank#134  Overall
#9  Graph DBMS
Score0.51
Rank#226  Overall
#14  Time Series DBMS
Score2.14
Rank#123  Overall
#60  Relational DBMS
Websitewww.cockroachlabs.comdgraph.iospotify.github.io/­heroic/­#!/­indexpingcap.com
Technical documentationwww.cockroachlabs.com/­docsdocs.dgraph.iospotify.github.io/­heroic/­#!/­docs/­overviewdocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsDgraph Labs, Inc.SpotifyPingCAP, Inc.
Initial release2015201620142016
Current release19.2.6, April 20204.0, July 2020
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open Source infoApache 2.0Open Source infoApache 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.
CockroachCloud: Get your applications to market faster with a fully managed CockroachDB instance. Leave the daily maintenance, security, and operations of your database to us, and spend more time building apps and running your business.
Implementation languageGoGoJavaGo, Rust
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
Linux
Data schemedynamic schemaschema-freeschema-freeyes
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.nononono
Secondary indexesyesyesyes infovia Elasticsearchyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoyes
APIs and other access methodsJDBCGraphQL query language
gRPC (using protocol buffers) API
HTTP API
HQL (Heroic Query Language, a JSON-based language)
HTTP API
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnononono
Triggersnononono
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 RAFTyesShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSynchronous replication via RaftyesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Immediate Consistency
Immediate Consistency
Foreign keys infoReferential integrityyesnonono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.nonono
User concepts infoAccess controlRole-based access controlno infoPlanned for future releasesUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
CockroachDBDgraphHeroicTiDB
Specific characteristicsCockroachDB is a DistributedSQL database architected for modern cloud applications....
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Horizontally scalable transactional graph database with fast arbitrary-depth joins...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosSystem of record (financial ledger, inventory management, transaction record), identity...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersComcast, LUSH, Bose, Kindred, Nubank, Baidu, SpaceX, TuneGO, eBay, DoorDash, Norfolk...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics8K+ long-running clusters 475+ CockroachDB Enterprise clusters 120+ CockroachCloud...
» more
25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

How We Build an HTAP Database That Simplifies Your Data Platform
15 September 2020

Announcing HTAP support in TiDB Cloud
8 September 2020

How to Migrate Data from Amazon Aurora MySQL to TiDB Cloud
4 September 2020

Celebrate TiKV Graduation within CNCF
2 September 2020

PingCAPers Make Their Debut at VLDB
31 August 2020

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
CockroachDBDgraphHeroicTiDB
Recent citations in the news

Cockroach Labs Announces Availability of CockroachDB on Red Hat Marketplace
9 September 2020, PRNewswire

A Gmail for databases: CockroachDB aims for the top, stocks up with $86.6M new funding
5 May 2020, ZDNet

CockroachDB review: Distributed SQL shifts into high gear
16 January 2020, InfoWorld

Cockroach Labs Releases CockroachDB 20.1 With New Features For Simpler, Faster Cloud Application Development
12 May 2020, DevOps.com

CockroachDB 19.2 Enables Enterprise to Build Global Applications with Strong Performance
12 November 2019, PRNewswire

provided by Google News

Dgraph Labs Launches Slash GraphQL, Industry's First GraphQL-Native Database Backend-As-A-Service
10 September 2020, GlobeNewswire

Dgraph Labs Now Available on Auth0 Marketplace
22 September 2020, GlobeNewswire

Dgraph on AWS: Setting up a horizontally scalable graph database
1 September 2020, idk.dev

Slash DGraph Brings Managed Backend and No Code Services to the GraphQL Ecosystem
15 September 2020, ProgrammableWeb

news digest: Slash GraphQL, Snyk closes $200 million round of funding, and DataStax introduces Indexing for Apache Cassandra - SD Times
10 September 2020, SDTimes.com

provided by Google News

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

provided by Google News

Cloud Native Computing Foundation Announces TiKV Graduation
3 September 2020, EnterpriseTalk

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

TiKV graduates from the CNCF, enabling persistent storage for container applications
2 September 2020, SiliconANGLE

PingCAP launches TiDB Cloud, a fully-managed database as a service offering
25 June 2020, Help Net Security

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

provided by Google News

Job opportunities

Senior Manager, Workplace Experience and Operations (New York)
Cockroach Labs, New York, NY

Video Editor - Cockroach University
Cockroach Labs, New York, NY

Account Executive, Texas
Cockroach Labs, Texas

Data Infrastructure Engineer
kraken, United States

Sales Enablement Manager
Cockroach Labs, New York, NY

Senior Python Developer
ASAP Solutions Group, LLC, Saint Petersburg, FL

Software Engineer - Python
ASAP Solutions Group, LLC, Saint Petersburg, FL

Software Engineer in Distributed Computing
Arcadia.io, Pittsburgh, PA

Software Engineer in Distributed Computing
Arcadia.io, Burlington, MA

Database Reliability Engineer (DBRE)
SwissBorg, Remote

Site Reliability Engineer
PingCAP, San Mateo, CA

Senior Software Engineer (Developer Velocity), Cash App
Cash App, New York, NY

SSBN/SSGN Missile Technician
BAE Systems, Washington, DC

jobs by Indeed




Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

AllegroGraph logo

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

Present your product here