| Option | AUTOSHARDING_MAX | |
| Description | Sets the number of datasources created during auto-sharding. | |
| Default | 131,072 shards | |
| Minimum | 1 shards | |
| Maximum | 131,072 shards | |
1,024 shards | (removed in 1.185) | |
131,072 shards | (added in 1.186) | |
AUTOSHARDING_MAX controls how many different data
sources are affected by auto-sharding. For more information, see
Configure Auto-Sharding for High-Volume Data Sources.