Before you use ApsaraDB for MongoDB, you must understand the constraints of different instance types. This topic describes these limitations to help you select the right instance for your business.
Standalone instance
|
Feature |
Constraint |
|
Instance deployment |
Standalone instances are not supported in all regions and zones. For details, see Supported regions and zones. |
|
Database version |
Only ApsaraDB for MongoDB 3.4 and 4.0 support standalone instances. Important
ApsaraDB for MongoDB 3.4 has been unavailable for purchase since January 1, 2023. For more information, see [Notice] End of sale for MongoDB 3.4 instances as of January 1, 2023. |
|
Database connection |
You cannot enable or disable encryption for private connections. |
|
Data backup |
Only Snapshot Backup is supported. Note
A snapshot backup preserves the disk data state at a specific point in time. |
|
Data restoration |
|
|
Service availability |
High availability features such as primary/secondary switchover, role switchover, and cross-zone migration are not supported. |
|
Data security |
|
|
Log management |
Log management is not supported, including Slow Query Logs, Error Logs, and Running Logs. |
|
CloudDBA |
|
|
Data migration and synchronization |
|
Replica set instance
|
Feature |
Constraint |
|
Instance deployment |
Replica set instances are not supported in all regions and zones. For details, see Supported regions and zones. |
|
Minor version |
To ensure optimal performance and stability, the system automatically upgrades an expired or unmaintained minor version to the latest version during operations such as major version upgrades, data migration, configuration changes, or data restoration. |
|
Database connection |
For replica set instances that run MongoDB 4.4 or later, you cannot switch the network type from classic network to VPC. |
|
Data backup |
|
|
Data security |
|
|
Log management |
No limitations. |
|
CloudDBA |
No limitations. |
|
Data migration and synchronization |
|
Sharded cluster instance
|
Feature |
Constraint |
|
Instance deployment |
Sharded cluster instances are not supported in all regions and zones. For details, see Supported regions and zones. |
|
Minor version |
To ensure optimal performance and stability, the system automatically upgrades an expired or unmaintained minor version to the latest version during operations such as major version upgrades, data migration, configuration changes, or data restoration. |
|
Data reads and writes |
The admin database in a sharded cluster instance is read-only. |
|
Data backup |
Sharded cluster instances support Physical Backup and Logical Backup. |
|
Data restoration |
Only point-in-time restoration to a new instance is supported. For more information, see Restore data to a new instance by point in time. |
|
Data security |
Note
DynamoDB-compatible sharded cluster instances support only VPC. To create a VPC, see Create and manage a VPC. |
|
CloudDBA |
DynamoDB-compatible sharded cluster instances do not support CloudDBA, including Performance, Real-time Performance, Sessions, Storage Analysis, and Slow Query Logs. |
|
Data migration and synchronization |
|
|
Recycle bin |
The recycle bin feature is not supported. |
Serverless instance
|
Feature |
Constraint |
|
Modify instance parameters |
You cannot modify the parameters of a serverless instance. |
|
Data reads and writes |
|
|
Database connection |
|
|
Data backup and restoration |
You can only use MongoDB tools (mongodump and mongorestore) for data backup and restoration. For more information, see Use MongoDB tools to back up and restore an ApsaraDB for MongoDB serverless instance. |
|
Data security |
|
|
Log management |
Serverless instances do not support log management, including Slow Query Logs, Error Logs, and Running Logs. |
|
CloudDBA |
Serverless instances do not support CloudDBA, including Performance, Real-time Performance, Sessions, Storage Analysis, and Slow Query Logs. |
|
Data migration and synchronization |
You can migrate data from a serverless instance by using the following methods: |
|
Recycle bin |
The recycle bin feature is not supported. |
|
Restart instance |
You cannot restart a serverless instance. |