DB-EnginesDo you need a hard real time database?English
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Dgraph vs. Google Cloud Firestore vs. TiDB

System Properties Comparison Dgraph vs. Google Cloud Firestore vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.TiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelGraph DBMSDocument storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.38
Rank#145  Overall
#11  Graph DBMS
Score9.25
Rank#52  Overall
#10  Document stores
Score3.29
Rank#94  Overall
#49  Relational DBMS
Websitedgraph.iofirebase.google.com/­products/­firestorepingcap.com
Technical documentationdgraph.io/­docsfirebase.google.com/­docs/­firestoredocs.pingcap.com/­tidb/­stable
DeveloperDgraph Labs, Inc.GooglePingCAP, Inc.
Initial release201620172016
Current release5.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0commercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenoyesno
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 languageGoGo, Rust
Server operating systemsLinux
OS X
Windows
hostedLinux
Data schemeschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyesyes
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 indexesyesyesyes
SQL infoSupport of SQLnonoyes
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
Android
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Go
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
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 proceduresnoyes, Firebase Rules & Cloud Functionsno
Triggersnoyes, with Cloud Functionsno
Partitioning methods infoMethods for storing different data on different nodesyesShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via RaftMulti-source replicationUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoUsing Cloud Dataflowyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlno infoPlanned for future releasesAccess rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.Users with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
DgraphGoogle Cloud FirestoreTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» 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

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

More resources
DgraphGoogle Cloud FirestoreTiDB
DB-Engines blog posts