Atlas M0 (Free Cluster), M2, and M5 Limits
Configuration Limits
The following table lists the configuration limits of Atlas
M0
Free clusters and M2/M5
Shared clusters:
Configuration Option | Limit |
---|---|
Cloud Service Provider and Region | You can deploy |
MongoDB Version and Storage Engine | Atlas uses MongoDB 7.0 for M0/M2/M5 clusters. |
MongoDB Version Upgrade | You can't upgrade the MongoDB version that M0/M2/M5 clusters
run. Atlas upgrades M0 Free clusters or M2/M5
Shared clusters to the newest MongoDB version after several
patch versions become available for that version. To learn more,
see MongoDB Versioning. |
Cluster Tier | You must select the You can deploy only one |
Cluster Memory | You can't configure memory for M0 Free clusters or M2/M5
Shared clusters. |
Cluster Storage | You can't configure storage size for M0 Free clusters or
M2/M5 Shared clusters. |
Replication Factor | Replication Factor is set to 3 Nodes and you can't modify it
for M0 Free clusters or M2/M5 Shared clusters. |
Replica Set Tags | |
Do You Want A Sharded Cluster | You can't deploy a M0 Free cluster or M2/M5 shared
cluster as a Sharded Cluster. |
Do You Want To Enable Backup | You can't enable backups on As an alternative to enabling backups, you can use |
Test Primary Failovers | You can't perform primary failover testing on M0 Free clusters
or M2/M5 Shared clusters. |
Simulate Regional Outage | You can't perform regional outage testing on M0 Free clusters
or M2/M5 Shared clusters. |
Database Auditing | |
Encryption at Rest using your Key Management | You can't configure encryption at Rest using Customer Key
Management on M0 Free clusters
or M2/M5 Shared clusters. |
Network Peering Connections | |
Private endpoints | |
Access Tracking | You can't view the database access history for M0
Free clusters or M2/M5 Shared clusters. |
Operational Limits
The following table lists the operational limits of Atlas
M0
Free clusters and M2/M5
Shared clusters:
Operation | Limit | ||||||
---|---|---|---|---|---|---|---|
Aggregation and Queries | Atlas On On | ||||||
API Access | While you can create an You can create an | ||||||
Atlas Alerts |
| ||||||
Atlas Monitoring | The Metrics view of an
To learn more, see Real Time Metrics. | ||||||
Authentication |
| ||||||
Auto-Expand Storage | |||||||
BSON Nested Object Depth | M0 Free clusters and M2/M5 Shared clusters
can store documents with a maximum of 50 nested levels. | ||||||
Build Index with Rolling Build | |||||||
Change Streams Filtering | For M0 Free clusters and M2/M5 Shared clusters,
you can use only strings and regular expressions in filters on
database names (namespace ns fields) in
change streams. You can't use commands,
such as $in , in database namespace filters. This limit
doesn't apply to filtering on collection names in change streams. | ||||||
Cluster Persistence | Atlas may deactivate idle M0 Free clusters as per
the Terms of Service. | ||||||
Command Line Tools | M0 Free clusters, Flex clusters, and M2/M5 Shared clusters don't support the following command line tool options:
For | ||||||
Connections | M0 Free clusters and M2/M5 Shared clusters can only
have a maximum of 500 connections. | ||||||
Cursors | Free clusters and Shared clusters can't use the
noTimeout cursor option. | ||||||
Custom Roles | Changes to custom roles
might take up to 30 seconds to deploy in M0 Free clusters
and M2/M5 Shared clusters. | ||||||
Database and Collections | M0 Free clusters and M2/M5 Shared clusters can have
a maximum of 100 databases and 500 collections total. | ||||||
Database Commands | Certain database commands are unsupported or behave
differently in an M0 Free cluster. To learn more, see
Command Limits in Free Clusters.
For questions or comments related to restricted commands,
contact support. | ||||||
Access to Collections in local , admin , and config Databases |
Atlas issues an error similar to the following if you attempt to read or write to collections in these databases:
| ||||||
Database Logs | M0 Free clusters and M2/M5 Shared clusters don't
allow you to download logs. | ||||||
Data Recovery |
| ||||||
Data Transfer Limits |
Atlas handles clusters that exceed the rate limit as follows:
| ||||||
Data Storage |
Data storage space includes the number of bytes of all uncompressed BSON documents stored in all collections, plus the bytes stored in their associated indexes. | ||||||
JavaScript | M0 Free clusters and M2/M5 Shared clusters don't
support server-side JavaScript. For example,
$where and
map-reduce are unsupported. | ||||||
Namespaces and Database Names | M0 Free cluster and M2/M5 Shared cluster namespaces
are limited to 95 bytes. Database names are limited to 38 bytes. | ||||||
Number of Free Clusters | You can deploy at most one M0 Free cluster per Atlas
project. However if you have sales contracts with MongoDB, you might be able to deploy
more M0 clusters per project. To learn more, contact a
MongoDB sales representative. | ||||||
Performance Advisor | |||||||
Query Utilization | The percentage of time that a query is running over any five
minute period must remain under 100% on M0 Free clusters
and M2/M5 Shared clusters. | ||||||
Real-Time Performance Panel | |||||||
Sort in Memory | M0 Free clusters and M2/M5 Shared clusters
sort in memory limit is 32 MB. | ||||||
Throughput |
Atlas handles clusters that exceed the operations per second rate limit as follows:
| ||||||
Automatic Pause of Idle Clusters | Atlas automatically pauses You can resume the cluster at any time unless the paused cluster was running on an old version that Atlas can't restore to the current version. You should export a copy of your data if you don't plan to use your Free cluster for an extended period of time. |
Driver Minimum Requirements
Driver | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Drivers that use a JRE or JDK' | Due to an issue with TLS 1.3 support in the Java JDK' (JDK-8236039), upgrade the JDK' that supports the driver you use to connect to Atlas. Minimum versions of the JDK' include:
To learn more about support for TLS 1.3 in Java-based languages, libraries, and drivers, see: |