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. H2 vs. RethinkDB vs. SwayDB

System Properties Comparison Firebase Realtime Database vs. Google Cloud Spanner vs. H2 vs. RethinkDB vs. SwayDB

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonH2  Xexclude from comparisonRethinkDB  Xexclude from comparisonSwayDB  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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.DBMS for the Web with a mechanism to push updated query results to applications in realtime.An embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelDocument storeRelational DBMSRelational DBMSDocument storeKey-value store
Secondary database modelsSpatial DBMSSpatial 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
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score2.74
Rank#105  Overall
#19  Document stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Websitefirebase.google.com/­products/­realtime-databasecloud.google.com/­spannerwww.h2database.comrethinkdb.comswaydb.simer.au
Technical documentationfirebase.google.com/­docs/­databasecloud.google.com/­spanner/­docswww.h2database.com/­html/­main.htmlrethinkdb.com/­docs
DeveloperGoogle infoacquired by Google 2014GoogleThomas MuellerThe Linux Foundation infosince July 2017Simer Plaha
Initial release20122017200520092018
Current release2.2.220, July 20232.4.1, August 2020
License infoCommercial or Open SourcecommercialcommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoApache Version 2Open Source infoGNU Affero GPL V3.0
Cloud-based only infoOnly available as a cloud serviceyesyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaC++Scala
Server operating systemshostedhostedAll OS with a Java VMLinux
OS X
Windows
Data schemeschema-freeyesyesschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyesyes infostring, binary, float, bool, date, geometryno
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.nonononono
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011yesnono
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
JDBC
ODBC
Supported programming languagesJava
JavaScript
Objective-C
Go
Java
JavaScript (Node.js)
Python
JavaC 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
Java
Kotlin
Scala
Server-side scripts infoStored procedureslimited functionality with using 'rules'noJava Stored Procedures and User-Defined Functionsno
TriggersCallbacks are triggered when data changesnoyesClient-side triggers through changefeedsno
Partitioning methods infoMethods for storing different data on different nodesShardingnoneSharding inforange basednone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.With clustering: 2 database servers on different computers operate on identical copies of a databaseSource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infousing Google Cloud Dataflownoyesno
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 ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACID infoStrict serializable isolationACIDAtomic single-document operationsAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes infoMVCC basedyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesnoyes
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)fine grained access rights according to SQL-standardyes infousers and table-level permissionsno

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

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

More resources
Firebase Realtime DatabaseGoogle Cloud SpannerH2RethinkDBSwayDB
DB-Engines blog posts

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

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

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 Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

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

provided by Google News

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

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

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

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

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

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

RethinkDB is dead, and MongoDB isn't what killed it
24 January 2017, TechRepublic

provided by Google News



Share this page

Featured Products

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.

SingleStore logo

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

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.

Present your product here