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. Google Cloud Spanner vs. MySQL vs. Realm

System Properties Comparison Firebase Realtime Database vs. Google Cloud Spanner vs. MySQL vs. Realm

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 comparisonMySQL  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.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.Widely used open source RDBMSA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core Data
Primary database modelDocument storeRelational DBMSRelational DBMS infoKey/Value like access via memcached APIDocument store
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score14.29
Rank#39  Overall
#6  Document stores
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score7.60
Rank#52  Overall
#9  Document stores
Websitefirebase.google.com/­products/­realtime-databasecloud.google.com/­spannerwww.mysql.comrealm.io
Technical documentationfirebase.google.com/­docs/­databasecloud.google.com/­spanner/­docsdev.mysql.com/­docrealm.io/­docs
DeveloperGoogle infoacquired by Google 2014GoogleOracle infosince 2010, originally MySQL AB, then SunRealm, acquired by MongoDB in May 2019
Initial release2012201719952014
Current release8.3.0, January 2024
License infoCommercial or Open SourcecommercialcommercialOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source
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.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
Implementation languageC and C++
Server operating systemshostedhostedFreeBSD
Linux
OS X
Solaris
Windows
Android
Backend: server-less
iOS
Windows
Data schemeschema-freeyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.nonoyesno
Secondary indexesyesyesyesyes
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011yes infowith proprietary extensionsno
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
ADO.NET
JDBC
ODBC
Proprietary native API
Supported programming languagesJava
JavaScript
Objective-C
Go
Java
JavaScript (Node.js)
Python
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
Java infowith Android only
Objective-C
React Native
Swift
Server-side scripts infoStored procedureslimited functionality with using 'rules'noyes infoproprietary syntaxno inforuns within the applications so server-side scripts are unnecessary
TriggersCallbacks are triggered when data changesnoyesyes infoChange Listeners
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Multi-source replication
Source-replica replication
none
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 integrityyes infonot for MyISAM storage engineno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACID infoStrict serializable isolationACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engine
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.noyesyes infoIn-Memory realm
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)Users with fine-grained authorization concept infono user groups or rolesyes

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 partiesNavicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» 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 SpannerMySQLRealm
DB-Engines blog posts

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

show all

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, 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

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

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

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

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

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 Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, Oracle

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

provided by Google News

Danish CEO explains Silicon Valley learning curve for European entrepreneurs - San Francisco Business Times
6 October 2016, The Business Journals

MongoDB aims to unify developer experience with launch of MongoDB Cloud
9 June 2020, diginomica

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

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

Here are the winners of Nordic Startup Awards
31 May 2016, EU-Startups

provided by Google News



Share this page

Featured Products

Neo4j logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

AllegroGraph logo

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

Present your product here