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

DBMS > Firebase Realtime Database vs. IBM Db2 vs. PostgreSQL

System Properties Comparison Firebase Realtime Database vs. IBM Db2 vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonPostgreSQL  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument storeRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsDocument store
RDF store infoin DB2 LUW (Linux, Unix, Windows)
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score11.28
Rank#41  Overall
#7  Document stores
Score174.14
Rank#6  Overall
#5  Relational DBMS
Score483.28
Rank#4  Overall
#4  Relational DBMS
Websitefirebase.google.com/­products/­realtime-databasewww.ibm.com/­analytics/­us/­en/­db2www.postgresql.org
Technical documentationfirebase.google.com/­docs/­databasewww.ibm.com/­support/­knowledgecenter/­SSEPGGwww.postgresql.org/­docs/­manuals
DeveloperGoogle infoacquired by Google 2014IBMPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release20121983 infohost version1989 info1989: Postgres, 1996: PostgreSQL
Current release12.1, October 201611.4, June 2019
License infoCommercial or Open Sourcecommercialcommercial infofree version is availableOpen Source infoBSD
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.
  • Google Cloud SQL: A fully-managed database service for the Google Cloud Platform
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
Implementation languageC and C++C
Server operating systemshostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
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.
Secondary indexesyesyesyes
SQL infoSupport of SQLnoyesyes infostandard with numerous extensions
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
JSON style queries infoMongoDB compatible
XQuery
ADO.NET
JDBC
ODBC
native C library
streaming API for large objects
ADO.NET
JDBC
ODBC
Supported programming languagesJava
JavaScript
Objective-C
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored procedureslimited functionality with using 'rules'yesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
TriggersCallbacks are triggered when data changesyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Master-slave replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate Consistency
Foreign keys infoReferential integritynoyesyes
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.no
User concepts infoAccess controlyes, based on authentication and database rulesfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

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 partiesGeneral SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more
Dremio is like magic for PostgreSQL accelerating your analytical queries up to 1,000x.
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

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

SQLPro for PostgreSQL: A simple but powerful PostgreSQL database client available on iPhone and iPad as well as macOS.
» more

DBHawk: a web-based PostgreSQL/Greenplum database tool. Boost database development and BI productivity with an online Universal database tool.
» more

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

2ndQuadrant: PostgreSQL Solutions for the Enterprise.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

More resources
Firebase Realtime DatabaseIBM Db2 infoformerly named DB2 or IBM Database 2PostgreSQL
DB-Engines blog posts

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

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Conferences and events

IDUG Db2 Tech Conference Europe 2019
Rotterdam, Netherlands, 29-24 October 2019

PostgreSQL Conference, Asia 2019
Denpasar, Bali, Indonesia, 9-12 September 2019

PostgreSQL Conference, Europe 2019
Milan, Italy, 15-18 October 2019

Finished events

Achieving High Availability with PostgreSQL
Webinar, 4PM UTC, 26 February 2019 (finished)

Recent citations in the news

Cloud database comparison: AWS, Microsoft, Google and Oracle
28 June 2019, TechTarget

Pay What You Want for the Complete Android Developer Bundle
10 July 2019, Neowin

How unsecured Firebase databases put critical data at risk
16 January 2019, TechTarget

FaceApp's privacy policy on photos uploaded is not sitting well with users, Twitter reacts
18 July 2019, Firstpost

Realtime vs Cloud Firestore: Which Firebase Database to go?
12 October 2018, Appinventiv

provided by Google News

DB2 LUW Database Administrator - Ensono
26 June 2019, Built In Chicago

Fully Managed PostgreSQL Hosting on AWS and Azure Launches in Time For Legacy Migrations
17 July 2019, Yahoo Finance

Cloud Now Default Platform for Databases, Gartner Says
26 June 2019, Datanami

IBM Injects 'Data Science' AI Into Its Db2 Database
4 June 2019, Forbes

Microsoft-SAP Juggernaut: Huge Pharma Moving All SAP Workloads to Azure
15 July 2019, Cloud Wars

provided by Google News

Fully Managed PostgreSQL Hosting on AWS and Azure Launches in Time For Legacy Migrations
17 July 2019, Yahoo Finance

Amazon Releases Aurora PostgreSQL Serverless to General Availability
17 July 2019, InfoQ.com

PostgreSQL database specialist EnterpriseDB gets new backing
28 June 2019, TechTarget

PostgreSQL on Amazon Aurora Serverless goes live. Check the price tag before diving in, though
10 July 2019, The Register

CIS Benchmark for PostgreSQL 11 Enhances PostgreSQL Security for Enterprises
1 July 2019, Yahoo Finance

provided by Google News

Job opportunities

Web Application Programmer
North Carolina State University, Raleigh, NC

Web Application Programmer
NC State University, Raleigh, NC

Data Architect
CDK Global, Seattle, WA

APPLICATION DEVELOPER
University of California, Davis, Davis, CA

Software Developer
Mackin Engineering Company, Pittsburgh, PA

Database Engineer
U.S. Bank, Richfield, MN

Database Administrator (Data Base Administrator V)
TEXAS EDUCATION AGENCY, Austin, TX

Solutions Consultant/Architect – DB2 z/OS Database Engineer/DBA
DB Best Technologies, Redmond, WA

Database Engineer and Administrator
Lenovo, Morrisville, NC

DB2 DBA
Remote, Warrendale, PA

Database Administrator
RE/MAX, LLC, Denver, CO

Senior Database Engineer
Amazon.com Services, Inc., Seattle, WA

Database Administrator
Frontend Arts, Sunnyvale, CA

Database Administrator
Amyx, Inc., Washington, DC

Database Administrator
GreatCall, San Diego, CA

jobs by Indeed




Share this page

Featured Products

RavenDB logo

Setup a fully managed RavenDB Cloud Database in minutes. Enjoy hosting, management, backups all in one place.
Grab a Free Instance

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Redis logo

Start now with Redis Cloud
Secure, highly available Redis as a serverless, hosted, fully managed cloud service.
Sign up here.

Couchbase logo

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

Present your product here