DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Firebase Realtime Database vs. PostgreSQL vs. RethinkDB

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRethinkDB  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 SQLDBMS for the Web with a mechanism to push updated query results to applications in realtime.
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.Document store
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score15.07
Rank#38  Overall
#6  Document stores
Score634.91
Rank#4  Overall
#4  Relational DBMS
Score2.81
Rank#110  Overall
#20  Document stores
Websitefirebase.google.com/­products/­realtime-databasewww.postgresql.orgrethinkdb.com
Technical documentationfirebase.google.com/­docs/­databasewww.postgresql.org/­docsrethinkdb.com/­docs
DeveloperGoogle infoacquired by Google 2014PostgreSQL Global Development Group infowww.postgresql.org/­developerThe Linux Foundation infosince July 2017
Initial release20121989 info1989: Postgres, 1996: PostgreSQL2009
Current release16.2, February 20242.4.1, August 2020
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen Source infoApache Version 2
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.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageCC++
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Windows
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, binary, float, bool, date, geometry
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 extensionsno
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJava
JavaScript
Objective-C
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C infocommunity-supported driver
C# infocommunity-supported driver
C++ infocommunity-supported driver
Clojure infocommunity-supported driver
Dart infocommunity-supported driver
Erlang infocommunity-supported driver
Go infocommunity-supported driver
Haskell infocommunity-supported driver
Java infoofficial driver
JavaScript (Node.js) infoofficial driver
Lisp infocommunity-supported driver
Lua infocommunity-supported driver
Objective-C infocommunity-supported driver
Perl infocommunity-supported driver
PHP infocommunity-supported driver
Python infoofficial driver
Ruby infoofficial driver
Scala infocommunity-supported driver
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.
TriggersCallbacks are triggered when data changesyesClient-side triggers through changefeeds
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashSharding inforange based
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsSource-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes
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
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDAtomic single-document operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoMVCC based
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-standardyes infousers and table-level permissions

More information provided by the system vendor

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 partiesAiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

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

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

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

More resources
Firebase Realtime DatabasePostgreSQLRethinkDB
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 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Meet some database management systems you are likely to hear more about in the future
4 August 2014, Paul Andlinger

show all

Recent citations in the news

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

Realtime vs Cloud Firestore: Which Firebase Database to go?
9 May 2023, Appinventiv

Clash of Clans gamers at risk while using third-party app
29 December 2023, CyberNews.com

Misconfigured Firebase Databases Exposing Data in Mobile Apps
17 March 2022, Threatpost

Over 4000 Android Apps Expose Users' Data via Misconfigured Firebase Databases
12 May 2020, The Hacker News

provided by Google News

Best of Makers: PostgreSQL Takes a New Turn
22 February 2024, The New Stack

AWS announces Amazon Aurora PostgreSQL integration with Amazon Bedrock for Generative AI
21 December 2023, AWS Blog

Blog Theme - Details
14 November 2023, Oracle

MongoDB vs PostgreSQL: A Comparison of Databases [2024]
27 February 2024, Simplilearn

Oracle Introduces PostgreSQL Running Native on OCI
17 December 2023, IDC

provided by Google News

MongoDB: The Popular Database for IoT
15 August 2023, Open Source For You

An introduction to building realtime apps with RethinkDB
9 July 2022, devmio

How to Use RethinkDB with Node.js Applications — SitePoint
16 December 2015, SitePoint

Stripe acquires team behind NoSQL database startup RethinkDB
5 October 2016, VentureBeat

Review: RethinkDB rethinks real-time Web apps
23 September 2015, InfoWorld

provided by Google News



Share this page

Featured Products

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus Free

Neo4j logo

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

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.

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

Present your product here