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

DBMS > Firebase Realtime Database vs. PostgreSQL vs. Realm

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRealm  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 SQLA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core Data
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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score11.81
Rank#40  Overall
#7  Document stores
Score503.37
Rank#4  Overall
#4  Relational DBMS
Score8.27
Rank#45  Overall
#8  Document stores
Websitefirebase.google.com/­products/­realtime-databasewww.postgresql.orgrealm.io
Technical documentationfirebase.google.com/­docs/­databasewww.postgresql.org/­docs/­manualsrealm.io/­docs
DeveloperGoogle infoacquired by Google 2014PostgreSQL Global Development Group infowww.postgresql.org/­developerRealm, acquired by MongoDB in May 2019
Initial release20121989 info1989: Postgres, 1996: PostgreSQL2014
Current release12.1, November 2019
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen Source
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: Fully managed PostgreSQL hosting with high availability, dedicated servers, and superuser control on the #1 multi-cloud Amazon RDS alternative.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
  • EDB Postgres Cloud Database Service: Postgres cloud database service on AWS with Superuser Access, Unlimited Extensions, Higher Scalability, More Tuning Power and Oracle Compatibility. Try free!
Implementation languageC
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Android
Backend: server-less
iOS
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.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
.Net
Java infowith Android only
Objective-C
React Native
Swift
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 inforuns within the applications so server-side scripts are unnecessary
TriggersCallbacks are triggered when data changesyesyes infoChange Listeners
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-slave replication infoother methods possible by using 3rd party extensionsnone
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 ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
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.noyes infoIn-Memory realm
User concepts infoAccess controlyes, based on authentication and database rulesfine grained access rights according to SQL-standardyes
More information provided by the system vendor
Firebase Realtime DatabasePostgreSQLRealm
Specific characteristicsNow a part of MongoDB Data Platform , Realm Database is the fast, easy to use, and...
» more
Competitive advantagesRealm ensures offline-first functionality, meaning apps run smoothly and deliver...
» more
Typical application scenariosMobile Consumer Apps First-Line Worker Apps
» more
Key customersCathay Pacific Royal Carribbean Cruise Lines Open Source Database powers apps built...
» more
Market metricsUsed by 100,000+ developers 2 bn installs Currently used in 40k+ applications in...
» more
Licensing and pricing modelsRealm database is licensed under the Apache License v2.0.
» 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
3rd parties2ndQuadrant: PostgreSQL Solutions for the Enterprise.
» more

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

CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

Dremio is like magic for PostgreSQL accelerating your analytical queries up to 1,000x.
» more

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

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

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

More resources
Firebase Realtime DatabasePostgreSQLRealm
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

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

Exposed Firebase databases hidden by Google search
3 December 2019, TechTarget

CyberWire Daily Briefing
3 December 2019, The CyberWire

Compare Google Cloud Firestore and Firebase Realtime Database
9 August 2019, TechTarget

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

Firebase for Startups: A Must-Have or Non-Essential
23 January 2019, Appinventiv

provided by Google News

Faster PostgreSQL connection recovery
2 December 2019, The Guardian

Crunchy Data and Center for Internet Security Announce Benchmark Update for PostgreSQL 12
20 November 2019, Yahoo Finance

PostgreSQL committer Stephen Frost shares his vision for PostgreSQL version 12 and beyond
4 December 2019, Packt Hub

Transform Data Into Game-Changing Insights with This SQL Training
7 December 2019, Entrepreneur

Crunchy Data and ORock Technologies Partnership Brings Trusted Open Source Cloud Native PostgreSQL to Federal Government
13 November 2019, AiThority

provided by Google News

Realm Makes PostgreSQL Real-Time with New Connector
21 March 2017, Database Trends and Applications

Realm Receives Investment from Ericsson Ventures to Advance Development of Edge Computing Solutions
21 September 2017, Business Wire

Realm Platform 2.0 Is Significant Step Forward for Building Responsive and Real-Time Mobile Applications
17 October 2017, Business Wire

How Realm's New React Native Database Helps Developers
2 March 2016, App Developer Magazine

Kotlin Programming Language Will Surpass Java On Android Next Year
15 October 2017, Fossbytes

provided by Google News

Job opportunities

Software Developer
Mackin Engineering Company, Pittsburgh, PA

PROFESSIONAL XAMARIN DEVELOPER
Edge One Solutions, Remote

Web Developer
Intrepid Pursuits, Boston, MA

Data Architect
CDK Global, Seattle, WA

SOFTWARE ENGINEER
Friendly Consultants, Dublin, OH

Senior Database Migration Consultant
Amazon Web Services, Inc., Houston, TX

Sr Applications Engineer - Corporate Systems
California ISO, Folsom, CA

Manager - Customer Success (Account Management) - remote US
Percona, Remote

Senior Database Migration Consultant
Amazon Web Services, Inc., United States

Senior Database Migration Consultant
Amazon Web Services, Inc., Chicago, IL

Software Engineer, iOS
Warner Bros. Entertainment Group, Philadelphia, PA

Senior Android Software Engineer
Johns Hopkins Applied Physics Laboratory (APL), Laurel, MD

Software Engineer, iOS - New York
Lyft, New York, NY

Software Engineer, iOS
Lyft, San Francisco, CA

jobs by Indeed




Share this page

Featured Products

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

Hosted, serverless DBaaS
in 3 steps.

30MB Free!
Start now.

RavenDB logo

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

Couchbase logo

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


Datastax logo

Build data-driven applications that set the standard for performance, availability,
& scale with DataStax.
Learn more.

Present your product here