MongoDB Atlas Comparison (2024)

Comparing MongoDB as a Service Offerings

MongoDB Atlas is delivered by the same team that builds MongoDB. But it’s not the only MongoDB service available to you. The chart below shows how the different options stack up.*

*as of March 2021

Overview

MongoDB AtlasAmazon DocumentDBCosmos DB Emulation API
Choice of cloud providers

Yes

AWS, Azure & Google Cloud, including multi-cloud clusters spanning all three cloud platforms

NoNo
Integrated text search, geospatial processingYes

LimitedData must be replicated to multiple adjacent AWS services for text search, only basic geospatial operators, driving up cost and complexity

LimitedSome support for geospatial data, but with limited indexing

Supports all MongoDB features with full application compatibility

Yes

Runs native MongoDB

No

Claims compatibility with v4.0 API, which is only partially true. No MongoDB server side code

Fails 64% of compatibility tests.

No

Claims compatibility with v4.0 API, actually closer to 3.6. No MongoDB server side code.

Fails 66% of compatibility tests.

Access to the latest MongoDB version

Yes

Run v7.0, 6.0, 5.0 or v4.4.

No

Claims compatibility with v4.0 API, which is only partially true.

No

Claims compatibility with v4.0 API, actually closer to 3.6.

Free Tier

Yes

Storage: 512 MB, RAM: Variable

No

Limited

Just for the first 400 RU/s. Not sandboxed, so no way to avoid cost if usage increases beyond the 400RU limit

Live migration

Yes

Resistant to initial interruptions, filterable, topology agnostic.

Yes

Available as separate paid service

Yes

Only for eligible accounts

Choice of instance configuration

Yes

Multiple instance sizes and classes

Limited

Around a dozen instances only, all of a single AWS class, limiting flexibility in accommodating different workload profiles

No

Configuration based on provisioned throughput. No way to independently select underlying hardware configurations

Support for MongoDB multi-document ACID transactionsYes

Limited

Missing features, fail over half of transaction tests in standard MongoDB test suite

Limited

Multi-document transactions are supported only within a single, unsharded collection; almost all of MongoDB's transaction tests fail

JSON data type support

BSON

(Binary JSON) Regular JSON + longs, doubles, floats, decimal, dates, and times

Primitive JSON

and some advanced data types, but does not support decimal

BSON

Some data types have restrictions, including the inability to modify them once set

Maximum document size16MB16MB2MB
JSON schema for data governance controlsYes

No

All schema controls must be written in the app tier

No

All schema controls must be written in the app tier

Integrated text search and graph queries

Yes

MongoDB aggregation pipeline and Atlas Search

Partial

No integrated text search

Partial

No integrated text search

Integrated querying of data in cloud object storage

Yes

Atlas Data Federation

NoNo

Online Archive

Automatically tier data out from database to cloud object storage

Yes

Online Archive

NoNo
Blend data with joins and unions for analytics queriesYesNoNo
Automatic Performance Recommendations

Yes

Performance Advisor with schema and index recommendations

NoNo
Replica Set Configuration

Up to 50 replicas

All replicas configured as data-bearing nodes

Up to 15 replicas

Replicas are not data-bearing. DocumentDB maintains 6 copies of data at the storage layer

3 data-bearing nodes
Automatic Sharding Support

Yes

Scale writes horizontally across multiple nodes. Store multiple TB of data on a single shard.

Ability to refine shard key as application requirements evolve.

Since 7.0, shard key advisor commands provide metrics that facilitate shard key refining.

No sharding support

All writes must be made to a single primary node only.

Yes

However, no support to refine the chosen shard key, forcing a full database migration should the shard key need to change in any way.

Hedged Reads

Queries submitted to multiple replicas for consistent low latency

YesNoNo
Pause and resume clustersYesYesNo
Data Explorer

Yes

Directly in Atlas UI, or via MongoDB Compass

NoYes
SQL-based BI Connectivity

Yes

MongoDB SQL Connector

No

Yes

Power BI and Qlik Sense only

Native data visualization without 3rd party BI tools

Yes

MongoDB Charts

NoNo
Database supported in on-premise and hybrid deployments

Yes

MongoDB Enterprise Advanced

NoNo
Embeddable database with sync for mobile, edge and IoT devices

Yes

Atlas for the Edge provides Atlas Device Sync & SDKs

NoNo
MongoDB Atlas
Choice of cloud providers

Yes

AWS, Azure & Google Cloud, including multi-cloud clusters spanning all three cloud platforms

Integrated text search, geospatial processingYes
Supports all MongoDB features with full application compatibility

Yes

Runs native MongoDB

Access to the latest MongoDB version

Yes

Run v7.0, 6.0, 5.0 or v4.4.

Free Tier

Yes

Storage: 512 MB, RAM: Variable

Live migration

Yes

Resistant to initial interruptions, filterable, topology agnostic.

Choice of instance configuration

Yes

Multiple instance sizes and classes

Support for MongoDB multi-document ACID transactionsYes
JSON data type support

BSON

(Binary JSON) Regular JSON + longs, doubles, floats, decimal, dates, and times

Maximum document size16MB
JSON schema for data governance controlsYes
Integrated text search and graph queries

Yes

MongoDB aggregation pipeline and Atlas Search

Integrated querying of data in cloud object storage

Yes

Atlas Data Federation

Online Archive

Automatically tier data out from database to cloud object storage

Yes

Online Archive

Blend data with joins and unions for analytics queriesYes
Automatic Performance Recommendations

Yes

Performance Advisor with schema and index recommendations

Replica Set Configuration

Up to 50 replicas

All replicas configured as data-bearing nodes

Automatic Sharding Support

Yes

Scale writes horizontally across multiple nodes. Store multiple TB of data on a single shard.

Ability to refine shard key as application requirements evolve.

Since 7.0, shard key advisor commands provide metrics that facilitate shard key refining.

Hedged Reads

Queries submitted to multiple replicas for consistent low latency

Yes
Pause and resume clustersYes
Data Explorer

Yes

Directly in Atlas UI, or via MongoDB Compass

SQL-based BI Connectivity

Yes

MongoDB SQL Connector

Native data visualization without 3rd party BI tools

Yes

MongoDB Charts

Database supported in on-premise and hybrid deployments

Yes

MongoDB Enterprise Advanced

Embeddable database with sync for mobile, edge and IoT devices

Yes

Atlas for the Edge provides Atlas Device Sync & SDKs

Amazon DocumentDB
Choice of cloud providersNo
Integrated text search, geospatial processing

LimitedData must be replicated to multiple adjacent AWS services for text search, only basic geospatial operators, driving up cost and complexity

Supports all MongoDB features with full application compatibility

No

Claims compatibility with v4.0 API, which is only partially true. No MongoDB server side code

Fails 64% of compatibility tests.

Access to the latest MongoDB version

No

Claims compatibility with v4.0 API, which is only partially true.

Free TierNo
Live migration

Yes

Available as separate paid service

Choice of instance configuration

Limited

Around a dozen instances only, all of a single AWS class, limiting flexibility in accommodating different workload profiles

Support for MongoDB multi-document ACID transactions

Limited

Missing features, fail over half of transaction tests in standard MongoDB test suite

JSON data type support

Primitive JSON

and some advanced data types, but does not support decimal

Maximum document size16MB
JSON schema for data governance controls

No

All schema controls must be written in the app tier

Integrated text search and graph queries

Partial

No integrated text search

Integrated querying of data in cloud object storageNo

Online Archive

Automatically tier data out from database to cloud object storage

No
Blend data with joins and unions for analytics queriesNo
Automatic Performance RecommendationsNo
Replica Set Configuration

Up to 15 replicas

Replicas are not data-bearing. DocumentDB maintains 6 copies of data at the storage layer

Automatic Sharding Support

No sharding support

All writes must be made to a single primary node only.

Hedged Reads

Queries submitted to multiple replicas for consistent low latency

No
Pause and resume clustersYes
Data ExplorerNo
SQL-based BI ConnectivityNo
Native data visualization without 3rd party BI toolsNo
Database supported in on-premise and hybrid deploymentsNo
Embeddable database with sync for mobile, edge and IoT devicesNo
Cosmos DB Emulation API
Choice of cloud providersNo
Integrated text search, geospatial processing

LimitedSome support for geospatial data, but with limited indexing

Supports all MongoDB features with full application compatibility

No

Claims compatibility with v4.0 API, actually closer to 3.6. No MongoDB server side code.

Fails 66% of compatibility tests.

Access to the latest MongoDB version

No

Claims compatibility with v4.0 API, actually closer to 3.6.

Free Tier

Limited

Just for the first 400 RU/s. Not sandboxed, so no way to avoid cost if usage increases beyond the 400RU limit

Live migration

Yes

Only for eligible accounts

Choice of instance configuration

No

Configuration based on provisioned throughput. No way to independently select underlying hardware configurations

Support for MongoDB multi-document ACID transactions

Limited

Multi-document transactions are supported only within a single, unsharded collection; almost all of MongoDB's transaction tests fail

JSON data type support

BSON

Some data types have restrictions, including the inability to modify them once set

Maximum document size2MB
JSON schema for data governance controls

No

All schema controls must be written in the app tier

Integrated text search and graph queries

Partial

No integrated text search

Integrated querying of data in cloud object storageNo

Online Archive

Automatically tier data out from database to cloud object storage

No
Blend data with joins and unions for analytics queriesNo
Automatic Performance RecommendationsNo
Replica Set Configuration3 data-bearing nodes
Automatic Sharding Support

Yes

However, no support to refine the chosen shard key, forcing a full database migration should the shard key need to change in any way.

Hedged Reads

Queries submitted to multiple replicas for consistent low latency

No
Pause and resume clustersNo
Data ExplorerYes
SQL-based BI Connectivity

Yes

Power BI and Qlik Sense only

Native data visualization without 3rd party BI toolsNo
Database supported in on-premise and hybrid deploymentsNo
Embeddable database with sync for mobile, edge and IoT devicesNo

Global Clusters

MongoDB AtlasAmazon DocumentDBCosmos DB Emulation API

Active-active clusters supporting global writes

Low-latency writes from anywhere in the world

Yes

No

Single AWS region only, only one writeable node

Yes

Risk of data loss due to conflict resolution. Reads can be eventually consistent (returning stale or deleted data)

Cross-region replication

Distribute data around the world for multi-region fault tolerance and local reads

Yes

Limited

Read operations only. Writes locked to primary only

Yes

Reads can be eventually consistent (returning stale or deleted data)

MongoDB Atlas

Active-active clusters supporting global writes

Low-latency writes from anywhere in the world

Yes

Cross-region replication

Distribute data around the world for multi-region fault tolerance and local reads

Yes
Amazon DocumentDB

Active-active clusters supporting global writes

Low-latency writes from anywhere in the world

No

Single AWS region only, only one writeable node

Cross-region replication

Distribute data around the world for multi-region fault tolerance and local reads

Limited

Read operations only. Writes locked to primary only

Cosmos DB Emulation API

Active-active clusters supporting global writes

Low-latency writes from anywhere in the world

Yes

Risk of data loss due to conflict resolution. Reads can be eventually consistent (returning stale or deleted data)

Cross-region replication

Distribute data around the world for multi-region fault tolerance and local reads

Yes

Reads can be eventually consistent (returning stale or deleted data)

Monitoring and Disaster Recovery

MongoDB AtlasAmazon DocumentDBCosmos DB Emulation API
Automatic scaling of compute and storageYes

No.

Storage only

Yes

50% upcharge for autoscaling, can only scale within a certain tier

Monitoring of database health with automated alerting

Yes

MongoDB Atlas UI & support for APM platforms (i.e., New Relic)

Partial

Only a limited number of account-level metrics are exposed

Partial

Only a limited number of account-level metrics are exposed

Backup snapshots with on-demand Point in Time restoreYesYes

No

Snapshots taken every 4 hours. Service ticket must be raised for Cosmos DB support to restore the backup. Must be completed within 8 hours or snapshots are overwritten and data is lost

Queryable backupsYesNoNo
Automated & consistent snapshots of sharded clustersYes

N/a

Sharding not supported

Yes
MongoDB Atlas
Automatic scaling of compute and storageYes
Monitoring of database health with automated alerting

Yes

MongoDB Atlas UI & support for APM platforms (i.e., New Relic)

Backup snapshots with on-demand Point in Time restoreYes
Queryable backupsYes
Automated & consistent snapshots of sharded clustersYes
Amazon DocumentDB
Automatic scaling of compute and storage

No.

Storage only

Monitoring of database health with automated alerting

Partial

Only a limited number of account-level metrics are exposed

Backup snapshots with on-demand Point in Time restoreYes
Queryable backupsNo
Automated & consistent snapshots of sharded clusters

N/a

Sharding not supported

Cosmos DB Emulation API
Automatic scaling of compute and storage

Yes

50% upcharge for autoscaling, can only scale within a certain tier

Monitoring of database health with automated alerting

Partial

Only a limited number of account-level metrics are exposed

Backup snapshots with on-demand Point in Time restore

No

Snapshots taken every 4 hours. Service ticket must be raised for Cosmos DB support to restore the backup. Must be completed within 8 hours or snapshots are overwritten and data is lost

Queryable backupsNo
Automated & consistent snapshots of sharded clustersYes

Security Control

MongoDB AtlasAmazon DocumentDBCosmos DB Emulation API

Queryable encryption

Run expressive queries against encrypted data without decryption

YesNoNo

Client-side field level encryption

Encryption of data in-use. Data not readable by service provider

YesNo

Partial

Preview only and limited capabilities

Bring your own KMSYes

No

AWS KMS only

No

Azure key vault only

Granular role-based access controlYes

Partial

Limited coarse-grained roles only

Partial

Limited coarse-grained roles only

AWS VPC PeeringYesYesN/A
Encryption of data in-flight

Yes

TLS/SSL as standard

YesYes
Encryption of data at-restYesYesYes
LDAP IntegrationYesNoYes

Database-level auditing

Track DDL, DML, DCL operations

YesNoYes
MongoDB Atlas

Queryable encryption

Run expressive queries against encrypted data without decryption

Yes

Client-side field level encryption

Encryption of data in-use. Data not readable by service provider

Yes
Bring your own KMSYes
Granular role-based access controlYes
AWS VPC PeeringYes
Encryption of data in-flight

Yes

TLS/SSL as standard

Encryption of data at-restYes
LDAP IntegrationYes

Database-level auditing

Track DDL, DML, DCL operations

Yes
Amazon DocumentDB

Queryable encryption

Run expressive queries against encrypted data without decryption

No

Client-side field level encryption

Encryption of data in-use. Data not readable by service provider

No
Bring your own KMS

No

AWS KMS only

Granular role-based access control

Partial

Limited coarse-grained roles only

AWS VPC PeeringYes
Encryption of data in-flightYes
Encryption of data at-restYes
LDAP IntegrationNo

Database-level auditing

Track DDL, DML, DCL operations

No
Cosmos DB Emulation API

Queryable encryption

Run expressive queries against encrypted data without decryption

No

Client-side field level encryption

Encryption of data in-use. Data not readable by service provider

Partial

Preview only and limited capabilities

Bring your own KMS

No

Azure key vault only

Granular role-based access control

Partial

Limited coarse-grained roles only

AWS VPC PeeringN/A
Encryption of data in-flightYes
Encryption of data at-restYes
LDAP IntegrationYes

Database-level auditing

Track DDL, DML, DCL operations

Yes

Support & Services

MongoDB AtlasAmazon DocumentDBCosmos DB Emulation API
Database support delivered directly by MongoDB engineers

Yes

Available with an optional support contract

NoNo
Consulting services from engineers with multiple years of MongoDB expertise

Yes

MongoDB Consulting Services

NoNo
MongoDB Atlas
Database support delivered directly by MongoDB engineers

Yes

Available with an optional support contract

Consulting services from engineers with multiple years of MongoDB expertise

Yes

MongoDB Consulting Services

Amazon DocumentDB
Database support delivered directly by MongoDB engineersNo
Consulting services from engineers with multiple years of MongoDB expertiseNo
Cosmos DB Emulation API
Database support delivered directly by MongoDB engineersNo
Consulting services from engineers with multiple years of MongoDB expertiseNo
MongoDB Atlas Comparison (2024)

FAQs

How reliable is MongoDB Atlas? ›

All MongoDB Atlas clusters are highly available and backed by an industry-leading uptime SLA of 99.995% across all cloud providers.

Is MongoDB Atlas cost effective? ›

MongoDB Atlas offers a perpetual free tier and usage-based pricing for as little as $9/mo for a shared instance or $60/mo dedicated. You're only charged per instance hour actually running and a flat rate for data transfer, so changing configurations is no big deal.

How to compare two databases in MongoDB? ›

Choose collections to compare

Simply drag the source collection on top of the target collection. All collections with the same name in the source and target databases are automatically selected for comparison. Of course, it's not mandatory that collections need to have the same name.

Does MongoDB Atlas achieve high availability? ›

MongoDB Atlas is built for resilience and high availability. That's why organizations of all sizes use Atlas to power mission-critical workloads. In this white paper, you'll find out how Atlas keeps critical data online and available using several key database resilience features.

Is MongoDB Atlas fully managed? ›

MongoDB Atlas is a cloud database service (sometimes referred to as managed MongoDB hosting) for deploying fully managed MongoDB across AWS, Google Cloud, and Azure, and guarantees availability, scalability, and compliance with most demanding data security environments using best-in-class automation.

What are the disadvantages of MongoDB database? ›

Awkward Joins: MongoDB does not support joins like a relational database, making it challenging to join your stored documents. You can manually code it, but it is time-consuming and could affect performance.

How to reduce the cost of MongoDB Atlas? ›

MongoDB Cost Optimization Tips
  1. Serverless. Unindexed Queries. Schema Design. Atlas Tools.
  2. Dedicated Instances. Cluster Auto-Scaling. Optimization and Sharded Clusters. Low RAM or CPU Workloads.
Jan 24, 2024

Is MongoDB Atlas free forever? ›

Atlas free clusters provide a small-scale development environment to host your data. Free clusters never expire, and provide access to a subset of Atlas features and functionality. Paid clusters provide full access to Atlas features, configuration options, and operational capabilities.

Why is MongoDB Atlas better? ›

You can scale up across a range of instance sizes, and scale-out with MongoDB Atlas' “automatic sharding”. Best of all, you can scale up or out with zero application downtime. Atlas provides horizontal scale-out for databases using a technique called sharding, which is transparent to applications.

Is it better to have multiple databases or one database? ›

A multi-database model is much more DevOps friendly. Single smaller databases can often be "spun-up" and then destroyed again, much faster than larger databases. It is much easier to give each developer their own environment with their own databases during development and testing.

How do I compare two databases for differences? ›

Create or open a database project. Right-click on the project, select “Schema Compare.” Configure the source and target databases. Click the “Compare” button to view differences.

How is MongoDB better than other SQL databases? ›

Why is using MongoDB better than using MySQL? Organizations of all sizes are adopting MongoDB, especially as a cloud database, because it enables them to build applications faster, handle highly diverse data types, and manage applications more efficiently at scale.

Why is MongoDB Atlas slow? ›

Common Reasons for Slow Queries

The query is unsupported by your current indexes. Some documents in your collection have large array fields that are costly to search and index.

Should I use MongoDB Atlas for production? ›

Atlas serverless instances are generally available, and we would recommend them for production use for applications where serverless is well-suited, typically sparse and infrequent workloads.

How popular is MongoDB Atlas? ›

MongoDB Atlas has market share of 0.20% in database market. MongoDB Atlas competes with 129 competitor tools in database category. The top alternatives for MongoDB Atlas database tool are Microsoft SQL Server with 28.20%, Azure SQL with 8.66%, Microsoft Access with 7.98% market share.

Is MongoDB Atlas secure? ›

MongoDB Atlas offers built-in security controls and enables enterprise-grade features to integrate with your existing security protocols and compliance standards. Your data is protected with preconfigured security features for authentication, authorization, encryption, network security, data resiliency, and more.

Is MongoDB Atlas real time? ›

Atlas supports real-time performance metrics for mongod or mongos processes and replica set clusters. For sharded clusters, you can view real-time peformance metrics for each shard replica set. You must have the Project Owner Atlas user role to access the Real Time tab.

Should I use MongoDB or MongoDB Atlas? ›

Scalability and High Availability: MongoDB allows users to scale their databases horizontally by distributing data across multiple servers. However, managing the scaling process can be complex and time-consuming. MongoDB Atlas, on the other hand, provides built-in scalability and high availability features.

References

Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 6168

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.