All Products
Search
Document Center

ApsaraDB for MongoDB:[Notice] Maximum connection limits increased for specific instance types

Last Updated:Feb 27, 2026

Effective May 14, 2024, ApsaraDB for MongoDB increased the maximum connection limits for 42 instance specifications across four categories, with increases of up to 6x for select instance types.

DetailDescription
Effective dateMay 14, 2024
ScopeSpecific instance types across replica set and sharded cluster instances
New instancesNew limits apply automatically
Existing instancesNew limits take effect after a restart

Updated connection limits

The following tables list the previous and updated maximum connection limits for each affected instance type. For connection limits of unaffected instance types, see Instance types.

Dedicated instances (cloud disks)

Applies to both replica set instances and sharded cluster instances.

SpecificationsInstance typePrevious limitNew limit
2 cores, 8 GB memorymdb.shard.4x.large.d3,0005,000
2 cores, 16 GB memorymdb.shard.8x.large.d5,0008,000
4 cores, 8 GB memorymdb.shard.2x.xlarge.d3,0008,000
4 cores, 16 GB memorymdb.shard.4x.xlarge.d5,0008,000
4 cores, 32 GB memorymdb.shard.8x.xlarge.d8,00012,000
8 cores, 16 GB memorymdb.shard.2x.2xlarge.d5,00012,000
8 cores, 32 GB memorymdb.shard.4x.2xlarge.d8,00016,000
16 cores, 32 GB memorymdb.shard.2x.4xlarge.d8,00016,000
16 cores, 64 GB memorymdb.shard.4x.4xlarge.d16,00032,000
16 cores, 128 GB memorymdb.shard.8x.4xlarge.d16,00032,000
32 cores, 64 GB memorymdb.shard.2x.8xlarge.d16,00032,000
32 cores, 128 GB memorymdb.shard.4x.8xlarge.d16,00096,000
32 cores, 256 GB memorymdb.shard.8x.8xlarge.d16,00096,000
64 cores, 128 GB memorymdb.shard.2x.16xlarge.d64,00096,000
64 cores, 256 GB memorymdb.shard.4x.16xlarge.d64,000128,000
64 cores, 512 GB memorymdb.shard.8x.16xlarge.d64,000128,000

General-purpose instances (cloud disks)

Applies to both replica set instances and sharded cluster instances.

SpecificationsInstance typePrevious limitNew limit
2 cores, 4 GB memorymdb.shard.2x.large.c1,0003,000
4 cores, 8 GB memorymdb.shard.2x.xlarge.c3,0006,000
4 cores, 16 GB memorymdb.shard.4x.xlarge.c5,0006,000
8 cores, 16 GB memorymdb.shard.2x.2xlarge.c5,00012,000
8 cores, 32 GB memorymdb.shard.4x.2xlarge.c8,00016,000
16 cores, 32 GB memorymdb.shard.2x.4xlarge.c8,00016,000
16 cores, 64 GB memorymdb.shard.4x.4xlarge.c16,00032,000
32 cores, 64 GB memorymdb.shard.2x.8xlarge.c16,00032,000

Dedicated instances (local disks)

ArchitectureSpecificationsInstance typePrevious limitNew limit
Replica set instance2 cores, 16 GB memorymongo.x8.medium2,5008,000
Replica set instance4 cores, 32 GB memorymongo.x8.large5,0008,000
Replica set instance8 cores, 64 GB memorymongo.x8.xlarge10,00016,000
Replica set instance16 cores, 128 GB memorymongo.x8.2xlarge20,00032,000
Replica set instance32 cores, 256 GB memorymongo.x8.4xlarge40,00064,000
Sharded cluster instance8 cores, 64 GB memorydds.shard.sn8.4xlarge.38,00016,000
Sharded cluster instance16 cores, 128 GB memorydds.shard.sn8.8xlarge.316,00032,000
Sharded cluster instance32 cores, 256 GB memorydds.shard.sn8.16xlarge.332,00064,000

General-purpose instances (local disks)

ArchitectureSpecificationsInstance typePrevious limitNew limit
Replica set instance1 core, 2 GB memorydds.mongo.mid5001,000
Replica set instance2 cores, 4 GB memorydds.mongo.standard1,0003,000
Replica set instance4 cores, 8 GB memorydds.mongo.large3,0006,000
Replica set instance8 cores, 16 GB memorydds.mongo.xlarge5,0009,000
Replica set instance8 cores, 32 GB memorydds.mongo.2xlarge8,00016,000
Replica set instance16 cores, 64 GB memorydds.mongo.4xlarge16,00032,000
Sharded cluster instance2 cores, 4 GB memorydds.mongos.standard2,0003,000
Sharded cluster instance4 cores, 8 GB memorydds.mongos.large4,0006,000
Sharded cluster instance8 cores, 16 GB memorydds.mongos.xlarge8,0009,000
Sharded cluster instance16 cores, 64 GB memorydds.mongos.4xlarge16,00032,000

Impact on existing instances

Important

The new connection limits do not take effect on existing instances until a restart. Before the restart, the previous limits remain in effect. For restart instructions, see Restart an ApsaraDB for MongoDB instance or a node.

Instances purchased after May 14, 2024 use the new limits automatically. No other ApsaraDB for MongoDB services are affected.

Usage notes

Higher concurrent connections consume more CPU and memory. Adjust connection limits based on actual workload requirements and monitor resource usage to avoid performance degradation.

If you have questions about this change, submit a ticket.

References