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

DBMS > Firebase Realtime Database vs. Google Cloud Spanner vs. ObjectBox vs. PostgreSQL

System Properties Comparison Firebase Realtime Database vs. Google Cloud Spanner vs. ObjectBox vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonObjectBox  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.A horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Lightweight, fast on-device database for IoT, Mobile and Embedded devices, persisting and synchronising objects and vectorsWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument storeRelational DBMSObject oriented DBMS
Vector DBMS
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsTime Series DBMSDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score13.64
Rank#39  Overall
#6  Document stores
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score1.29
Rank#166  Overall
#5  Object oriented DBMS
#7  Vector DBMS
Score636.25
Rank#4  Overall
#4  Relational DBMS
Websitefirebase.google.com/­products/­realtime-databasecloud.google.com/­spannergithub.com/­objectbox
objectbox.io
www.postgresql.org
Technical documentationfirebase.google.com/­docs/­databasecloud.google.com/­spanner/­docsdocs.objectbox.iowww.postgresql.org/­docs
DeveloperGoogle infoacquired by Google 2014GoogleObjectBox LimitedPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2012201720171989 info1989: Postgres, 1996: PostgreSQL
Current release4.0 (May 2024)16.3, May 2024
License infoCommercial or Open SourcecommercialcommercialBindings are released under Apache 2.0 infoApache License 2.0Open Source infoBSD
Cloud-based only infoOnly available as a cloud serviceyesyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageC and C++C
Server operating systemshostedhostedAndroid
Any POSIX system
Docker
iOS
Linux
macOS
QNX
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes, plus "flex" map-like typesyes
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.nononoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyesyes
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011noyes infostandard with numerous extensions
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
Proprietary native APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJava
JavaScript
Objective-C
Go
Java
JavaScript (Node.js)
Python
C
C++
Dart (Flutter)
Go
Java
Kotlin
Python
Swift
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored procedureslimited functionality with using 'rules'nonouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
TriggersCallbacks are triggered when data changesnonoyes
Partitioning methods infoMethods for storing different data on different nodesShardingnonepartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Data sync between devices allowing occasional connected databases to work completely offlineSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflownono
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 ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACID infoStrict serializable isolationACIDACID
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.nonono
User concepts infoAccess controlyes, based on authentication and database rulesAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)yesfine grained access rights according to SQL-standard
More information provided by the system vendor
Firebase Realtime DatabaseGoogle Cloud SpannerObjectBoxPostgreSQL
News

The on-device Vector Database for Android and Java
29 May 2024

Vector search: making sense of search queries
29 May 2024

Python on-device Vector and Object Database for Local AI
28 May 2024

Evolution of search: traditional vs vector search
23 May 2024

On-device Vector Database for Dart/Flutter
21 May 2024

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

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

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

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

More resources
Firebase Realtime DatabaseGoogle Cloud SpannerObjectBoxPostgreSQL
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

Recent citations in the news

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

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

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

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

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

provided by Google News

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Cloud just fired a major volley at AWS as the cloud wars heat up
12 October 2023, TechRadar

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

provided by Google News

ObjectBox Raises $2M in Funding
4 December 2018, FinSMEs

The Megashift Towards Decentralized Edge Computing
27 August 2021, hackernoon.com

provided by Google News

PostgreSQL is Now Faster than Pinecone, 75% Cheaper, with New Open Source Extensions
11 June 2024, PR Newswire

Timescale unveils high-performance AI vector database extensions for PostgreSQL
11 June 2024, SiliconANGLE News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for 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