DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Google Cloud Firestore vs. MongoDB vs. Realm

System Properties Comparison Google Cloud Firestore vs. MongoDB vs. Realm

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Firestore  Xexclude from comparisonMongoDB  Xexclude from comparisonRealm  Xexclude from comparison
DescriptionCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core Data
Primary database modelDocument storeDocument storeDocument store
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.51
Rank#43  Overall
#7  Document stores
Score402.51
Rank#5  Overall
#1  Document stores
Score6.80
Rank#51  Overall
#8  Document stores
Websitefirebase.google.com/­products/­firestorewww.mongodb.comrealm.io
Technical documentationfirebase.google.com/­docs/­firestorewww.mongodb.com/­docs/­manualrealm.io/­docs
DeveloperGoogleMongoDB, IncRealm, acquired by MongoDB in May 2019
Initial release201720092014
Current release7.0.5, January 2024
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
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 Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
Implementation languageC++
Server operating systemshostedLinux
OS X
Solaris
Windows
Android
Backend: server-less
iOS
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 indexesyesyesyes
SQL infoSupport of SQLnoRead-only SQL queries via the MongoDB Atlas SQL Interfaceno
APIs and other access methodsAndroid
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Supported programming languagesGo
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
.Net
Java infowith Android only
Objective-C
React Native
Swift
Server-side scripts infoStored proceduresyes, Firebase Rules & Cloud FunctionsJavaScriptno inforuns within the applications so server-side scripts are unnecessary
Triggersyes, with Cloud Functionsyes infoin MongoDB Atlas onlyyes infoChange Listeners
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.none
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsUsing Cloud Dataflowyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
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 isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyes
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.2yes infoIn-Memory realm
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.Access rights for users and 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 parties
» more

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

More resources
Google Cloud FirestoreMongoDBRealm
DB-Engines blog posts

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

show all

DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending
1 May 2025, DB-Engines

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

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

Google Cloud Announces Firestore with MongoDB Compatibility
26 April 2025, infoq.com

Google Cloud Enhances Databases with Firestore and MongoDB Features
28 April 2025, Security Boulevard

What’s next for Google Cloud databases? AI inside SQL and more
9 April 2025, VentureBeat

MWC: DT partners Google Cloud for better RANops using a network AI agent
25 February 2025, Mobile Europe

Cloud Firestore vs Realm Platform
21 December 2022, Netguru

provided by Google News

MongoDB (MDB): Barclays Analyst Lowers Price Target | MDB Stock News
16 May 2025, GuruFocus

MongoDB price target lowered to $252 from $280 at Barclays
16 May 2025, TipRanks

MongoDB (MDB) Stock Declines While Market Improves: Some Information for Investors
14 May 2025, Yahoo Finance

MongoDB (NasdaqGM:MDB) Sees 21% Stock Rise Over Last Month
14 May 2025, simplywall.st

Snowflake, MongoDB see better cloud engagement growth in April, Microsoft 365 growth slows - BofA
14 May 2025, Seeking Alpha

provided by Google News

Cloud Firestore vs Realm Platform
21 December 2022, Netguru

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

Is Swift the Future of Server-side Development?
12 September 2017, solutionsreview.com

Java Synthetic Methods — What are these ?
27 February 2021, DataDrivenInvestor

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

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

RaimaDB logo

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

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