DB-EngineseXtremeDB: 5 9's high availability databaseEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Firebase Realtime Database vs. MongoDB vs. Spark SQL

System Properties Comparison Firebase Realtime Database vs. MongoDB vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonMongoDB  Xexclude from comparisonSpark SQL  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.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelDocument storeDocument storeRelational DBMS
Secondary database modelsSearch engine infointegrated Lucene index, currently in MongoDB Atlas only.
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score15.31
Rank#37  Overall
#6  Document stores
Score443.56
Rank#5  Overall
#1  Document stores
Score18.62
Rank#34  Overall
#21  Relational DBMS
Websitefirebase.google.com/­products/­realtime-databasewww.mongodb.comspark.apache.org/­sql
Technical documentationfirebase.google.com/­docs/­databasedocs.mongodb.com/­manualspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperGoogle infoacquired by Google 2014MongoDB, IncApache Software Foundation
Initial release201220092014
Current release4.2.8, June 20203.0.0, June 2020
License infoCommercial or Open SourcecommercialOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesno infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • MongoDB Atlas: Deploy a fully managed cloud database on-demand and ready for use in minutes. Available on AWS, Azure, and GCP.
  • ScaleGrid for MongoDB: Fully managed hosting for MongoDB database on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageC++Scala
Server operating systemshostedLinux
OS X
Solaris
Windows
Linux
OS X
Windows
Data schemeschema-freeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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.nono
Secondary indexesyesyesno
SQL infoSupport of SQLnoRead-only SQL queries via the MongoDB Connector for BISQL-like DML and DDL statements
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
proprietary protocol using JSONJDBC
ODBC
Supported programming languagesJava
JavaScript
Objective-C
Actionscript infoinofficial driver
C
C#
C++
Clojure infoinofficial driver
ColdFusion infoinofficial driver
D infoinofficial driver
Dart infoinofficial driver
Delphi infoinofficial driver
Erlang
Go
Groovy infoinofficial driver
Haskell
Java
JavaScript
Lisp infoinofficial driver
Lua infoinofficial driver
MatLab infoinofficial driver
Perl
PHP
PowerShell infoinofficial driver
Prolog infoinofficial driver
Python
R infoinofficial driver
Ruby
Scala
Smalltalk infoinofficial driver
Java
Python
R
Scala
Server-side scripts infoStored procedureslimited functionality with using 'rules'JavaScriptno
TriggersCallbacks are triggered when data changesyes infoin MongoDB Atlas onlyno
Partitioning methods infoMethods for storing different data on different nodesSharding infopartitioned by hashed, ranged, or zoned sharding keysyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Eventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Foreign keys infoReferential integritynono infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesMulti-document ACID Transactions with snapshot isolationno
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infooptionalyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlyes, based on authentication and database rulesAccess rights for users and rolesno
More information provided by the system vendor
Firebase Realtime DatabaseMongoDBSpark SQL
Specific characteristicsMongoDB is the leading modern, general purpose data platform, designed to unleash...
» more
Competitive advantagesThe MongoDB Data Platform can be used by developers building OLTP and analytical...
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics70 million downloads (growing at more than 30 thousand downloads per day). 15,000+...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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 partiesDatadog: Visualize all your MongoDB metrics.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

DBHawk: Secure access to SQL, NoSQL and Cloud databases with an all-in-one solution.
» more

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

Studio 3T: The world's favorite IDE for working with MongoDB
» more

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

More resources
Firebase Realtime DatabaseMongoDBSpark SQL
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 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Google Involved in Yet Another Illegal App Tracking Privacy Lawsuit
24 July 2020, CPO Magazine

Introduction to the Firebase Database
9 March 2020, Database Journal

Firebase adds a new local emulator UI, payment processing extensions, and ML Model Management API
27 July 2020, XDA Developers

Firebase Releases New Productivity and Connectivity Tools
28 July 2020, ProgrammableWeb

EU-Startups Job Board: 5 cool coding and developer startup jobs waiting for you this month
6 August 2020, EU-Startups

provided by Google News

MongoDB: The Disruptive Database Platform
6 August 2020, Seeking Alpha

Why MongoDB Stock Is Cheaper Than It Looks
5 August 2020, The Motley Fool

Don’t Chase Growth With MongoDB
20 July 2020, Forbes

Hacking Attacks on Elasticsearch and MongoDB
27 July 2020, Search Engine Journal

MongoDB Improves Query Language
4 August 2020, iProgrammer

provided by Google News

The 6 Best Databricks Training and Courses for 2020
5 August 2020, Solutions Review

Spark 3.0 Brings Big SQL Speed-Up, Better Python Hooks
25 June 2020, Datanami

Enable fine-grained data access in Zeppelin Notebook with AWS Lake Formation
21 July 2020, idk.dev

GridGain’s Strong Market Momentum Continues in 2020
23 July 2020, Yahoo Finance

Spark 3.0 changes gears with adaptive query execution and GPU help
23 June 2020, DevClass

provided by Google News

Job opportunities

SQL Developer
LTTS, Cary, NC

Senior Mobile Analytics Consultant
empirical path, Atlanta, GA

Technical Support Specialist
U.S. Xpress Enterprises, Inc., Scottsdale, AZ

C# Angular FullStack Engineer
LTTS, Cary, NC

Data Engineering Intern
decormatters, Milpitas, CA

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Jr. Web Developer
Rabb Consulting, Remote

Senior Engineer, Protocols
Auth0, Remote

Software Engineer
Safari Solutions, South Bend, IN

MongoDB-Lead
Wipro Limited, Bothell, WA

Data Engineer (Apache Spark)
Acuity INC, Reston, VA

Data Scientist
Root Insurance Company, Columbus, OH

Analytics Report Author and Analyst
Syndigo, Chicago, IL

Cloud Data Analyst
World Wide Technology, Inc., Remote

Data Scientist
LOCKHEED MARTIN CORPORATION, White Sands Missile Range, NM

jobs by Indeed




Share this page

Featured Products

Couchbase logo

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

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

Neo4j logo

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

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here