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

DBMS > Dgraph vs. Firebase Realtime Database vs. TerarkDB vs. TiDB

System Properties Comparison Dgraph vs. Firebase Realtime Database vs. TerarkDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonTerarkDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSCloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.A 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 storeKey-value storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.53
Rank#164  Overall
#15  Graph DBMS
Score15.07
Rank#38  Overall
#6  Document stores
Score0.06
Rank#377  Overall
#57  Key-value stores
Score5.14
Rank#75  Overall
#41  Relational DBMS
Websitedgraph.iofirebase.google.com/­products/­realtime-databasegithub.com/­bytedance/­terarkdbpingcap.com
Technical documentationdgraph.io/­docsfirebase.google.com/­docs/­databasebytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKcdocs.pingcap.com/­tidb/­stable
DeveloperDgraph Labs, Inc.Google infoacquired by Google 2014ByteDance, originally TerarkPingCAP, Inc.
Initial release2016201220162016
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 dateyesyesnoyes
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 indexesyesyesnoyes
SQL infoSupport of SQLnononoyes
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
Android
iOS
JavaScript API
RESTful HTTP API
C++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Java
JavaScript
Objective-C
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 proceduresnolimited functionality with using 'rules'nono
TriggersnoCallbacks are triggered when data changesnono
Partitioning methods infoMethods for storing different data on different nodesyesnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via RaftnoneUsing 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 ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate Consistency
Foreign keys infoReferential integritynononoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesnoACID
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 releasesyes, based on authentication and database rulesnoFine grained access rights according to SQL-standard
More information provided by the system vendor
DgraphFirebase Realtime DatabaseTerarkDBTiDB
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

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

More resources
DgraphFirebase Realtime DatabaseTerarkDBTiDB
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

Recent citations in the news

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

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

10 Best Graph Databases to Consider for 2023
25 November 2023, Analytics Insight

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

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Hundreds of Google Firebase websites might have leaked data online
19 March 2024, TechRadar

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

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

TiDB 7.5 Sets New Standard for Stability at Scale
19 December 2023, GlobeNewswire

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

Unlocking performance, scalability, and cost-efficiency of Zomato's Billing Platform by switching from TiDB to ...
22 December 2023, AWS Blog

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

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.

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
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

Present your product here