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

DBMS > Firebase Realtime Database vs. PostgreSQL vs. TiDB

System Properties Comparison Firebase Realtime Database vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionCloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.34
Rank#36  Overall
#6  Document stores
Score552.23
Rank#4  Overall
#4  Relational DBMS
Score2.27
Rank#116  Overall
#56  Relational DBMS
Websitefirebase.google.com/­products/­realtime-databasewww.postgresql.orgpingcap.com
Technical documentationfirebase.google.com/­docs/­databasewww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperGoogle infoacquired by Google 2014PostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release20121989 info1989: Postgres, 1996: PostgreSQL2016
Current release13.1, November 20204.0.10 , January 2021
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageCGo, Rust
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeschema-freeyesyes
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.noyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensionsyes
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesJava
JavaScript
Objective-C
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
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 procedureslimited functionality with using 'rules'user defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
TriggersCallbacks are triggered when data changesyesno
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDACID
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.nono
User concepts infoAccess controlyes, based on authentication and database rulesfine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
Firebase Realtime DatabasePostgreSQLTiDB
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
News

Five Principles that Guide TiDB and PingCAP (Part I)
21 January 2021

Announcing the TiDB Incubator Program
20 January 2021

How to Simulate I/O Faults at Runtime
8 January 2021

GitHub Discussions: Bringing the Open Source Community Closer Together and All in GitHub
7 January 2021

PingCAP 2020 Year in Review
31 December 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
3rd partiesClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

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

More resources
Firebase Realtime DatabasePostgreSQLTiDB
DB-Engines blog posts

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

show all

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Writing Firebase Apps on Windows, Mac, and Linux Using Electron
6 January 2021, InfoQ.com

What is database-as-a-service?
25 January 2021, VentureBeat

9 trends in enterprise database technology
29 December 2020, VentureBeat

Build a forum with react
26 January 2021, TandaaBiashara

Introduction to the Firebase Database
9 March 2020, Database Journal

provided by Google News

What the PostgreSQL community has done so right
30 December 2020, TechRepublic

XTIVIA Partners with Leading PostgreSQL Contributor, EDB
25 January 2021, PR.com

Crunchy Data PostgreSQL Security Technical Implementation Guide Now Available
6 January 2021, PRNewswire

PostgreSQL Is DB-Engines DBMS of the Year For 2020
15 January 2021, iProgrammer

SQL Market Regional Analysis, Industry Dynamics 2027 by Top Companies – PostgreSQL, Oracle Database, Sybase, MarkLogic Corporation, Basho Technologies, MariaDB, MySQL, Microsoft, MongoDB – NeighborWebSJ
25 January 2021, NeighborWebSJ

provided by Google News

PingCAP, the open-source developer behind TiDB, closes $270 million Series D
17 November 2020, TechCrunch

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

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

PingCAP raises $270M to develop core technologies and advance global expansion of its offerings
18 November 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

Python Developer
Swan Software Solutions, Carmel, IN

Mobile Developer
Bonneville San Francisco, Salt Lake City, UT

Senior Mobile Analytics Consultant
empirical path, Atlanta, GA

Marketing Promotions Analyst
Family Dollar, Chesapeake, VA

Mobile Developer
Bonneville Sacramento, Salt Lake City, UT

Node.js Developer
Aiteq, Remote

Associate Customer Support Engineer
Liferay, Inc., Remote

Product Analyst
Game Insight, Remote

Internships at Apollo 2021 (Full-Stack)
Meteor Development Group, San Francisco, CA

SQL Developer
Capgemini, Remote

Database Administrator
Backblaze, San Mateo, CA

Senior Software Engineer (Cloud Database Infra), Cash App
Cash App, New York, NY

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.

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

AllegroGraph logo

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

Couchbase logo

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

Present your product here