DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Microsoft Azure Cosmos DB vs. MongoDB vs. Realm

System Properties Comparison Microsoft Azure Cosmos DB vs. MongoDB vs. Realm

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonMongoDB  Xexclude from comparisonRealm  Xexclude from comparison
DescriptionGlobally distributed, horizontally scalable, multi-model database serviceOne 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 store
Graph DBMS
Key-value store
Wide column store
Document storeDocument store
Secondary database modelsSpatial DBMSSpatial 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
Score22.55
Rank#26  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#2  Wide column stores
Score400.05
Rank#5  Overall
#1  Document stores
Score6.76
Rank#51  Overall
#9  Document stores
Websiteazure.microsoft.com/­services/­cosmos-dbwww.mongodb.comrealm.io
Technical documentationlearn.microsoft.com/­azure/­cosmos-dbwww.mongodb.com/­docs/­manualrealm.io/­docs
DeveloperMicrosoftMongoDB, IncRealm, acquired by MongoDB in May 2019
Initial release201420092014
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 Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
  • 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 dateyes infoJSON typesyes 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.no
Secondary indexesyes infoAll properties auto-indexed by defaultyesyes
SQL infoSupport of SQLSQL-like query languageRead-only SQL queries via the MongoDB Atlas SQL Interfaceno
APIs and other access methodsDocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Supported programming languages.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
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 proceduresJavaScriptJavaScriptno inforuns within the applications so server-side scripts are unnecessary
TriggersJavaScriptyes infoin MongoDB Atlas onlyyes infoChange Listeners
Partitioning methods infoMethods for storing different data on different nodesSharding infoImplicit feature of the cloud serviceSharding 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 nodesyes infoImplicit feature of the cloud serviceMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
none
MapReduce infoOffers an API for user-defined Map/Reduce methodswith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*yesno
Consistency concepts infoMethods to ensure consistency in a distributed systemBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Eventual 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 dataMulti-item ACID transactions with snapshot isolation within a partitionMulti-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 can be defined down to the item levelAccess rights for users and rolesyes
More information provided by the system vendor
Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBMongoDBRealm
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» 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 parties
» more

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

More resources
Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBMongoDBRealm
DB-Engines blog posts

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

PostgreSQL is the DBMS of the Year 2018
2 January 2019, 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

Start your AI journey with Microsoft Azure Cosmos DB—compete for $10K
9 May 2024, Microsoft Azure

Microsoft Announces General Availability of Data API Builder for Azure Cosmos DB
6 July 2024, infoq.com

Microsoft’s new DocumentDB rethinks NoSQL on PostgreSQL
30 January 2025, InfoWorld

Share.Market redefines the investment experience with Microsoft Azure
13 September 2024, Microsoft

Building Planet-Scale .NET Apps with Azure Cosmos DB
4 June 2024, Visual Studio Magazine

provided by Google News

Market Whales and Their Recent Bets on MDB Options
24 April 2025, Benzinga

Sabre, Powell, CrowdStrike, DocuSign, and MongoDB Stocks Trade Up, What You Need To Know
23 April 2025, Yahoo Finance

TencentDB, MongoDB Renew Strategic Partnership for AI Data Management
23 April 2025, The Fast Mode

Why MongoDB Stock Lost 34% in March
8 April 2025, The Motley Fool

MongoDB Announces Acquisition of Voyage AI to Enable Organizations to Build Trustworthy AI Applications
24 February 2025, PR Newswire

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.

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

RaimaDB logo

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

Present your product here