DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Dgraph vs. Microsoft Azure Cosmos DB vs. TerarkDB vs. TiDB

System Properties Comparison Dgraph vs. Microsoft Azure Cosmos DB vs. TerarkDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonTerarkDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSGlobally distributed, horizontally scalable, multi-model database serviceA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDBTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelGraph DBMSDocument store
Graph DBMS
Key-value store
Wide column store
Key-value storeRelational DBMS
Secondary database modelsSpatial DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.48
Rank#158  Overall
#15  Graph DBMS
Score29.85
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Score0.04
Rank#377  Overall
#58  Key-value stores
Score4.94
Rank#72  Overall
#40  Relational DBMS
Websitedgraph.ioazure.microsoft.com/­services/­cosmos-dbgithub.com/­bytedance/­terarkdbpingcap.com
Technical documentationdgraph.io/­docslearn.microsoft.com/­azure/­cosmos-dbbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKcdocs.pingcap.com/­tidb/­stable
DeveloperDgraph Labs, Inc.MicrosoftByteDance, originally TerarkPingCAP, Inc.
Initial release2016201420162016
Current release7.6.0, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0commercialcommercial inforestricted open source version availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoC++Go, Rust
Server operating systemsLinux
OS X
Windows
hostedLinux
Data schemeschema-freeschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyes infoJSON typesnoyes
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 indexesyesyes infoAll properties auto-indexed by defaultnoyes
SQL infoSupport of SQLnoSQL-like query languagenoyes
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
C++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
C++
Java
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 proceduresnoJavaScriptnono
TriggersnoJavaScriptnono
Partitioning methods infoMethods for storing different data on different nodesyesSharding infoImplicit feature of the cloud servicenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via Raftyes infoImplicit feature of the cloud servicenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnowith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*noyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Immediate Consistency
Foreign keys infoReferential integritynononoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-item ACID transactions with snapshot isolation within a partitionnoACID
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.yesno
User concepts infoAccess controlno infoPlanned for future releasesAccess rights can be defined down to the item levelnoFine grained access rights according to SQL-standard
More information provided by the system vendor
DgraphMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDBTerarkDBTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more

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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
DgraphMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDBTerarkDBTiDB
Recent citations in the news

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

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

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

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

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

provided by Google News

Public preview: Filtered vector search in vCore-based Azure Cosmos DB for MongoDB | Azure updates
24 April 2024, Microsoft

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, Microsoft

Azure Synapse Link for Cosmos DB: New Analytics Capabilities
10 November 2023, InfoQ.com

How to Migrate Azure Cosmos DB Databases | by Arwin Lashawn
25 August 2023, DataDrivenInvestor

Azure Cosmos DB joins the AI toolchain
23 May 2023, InfoWorld

provided by Google News

A Chinese company is making the cloud 200x faster ยท TechNode
3 July 2017, TechNode

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

PingCAP Wins 2024 Data Breakthrough Awards
12 April 2024, GlobeNewswire

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

Milvus logo

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

AllegroGraph logo

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

Neo4j logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here