For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Sharded Cluster Administration

Scaling Strategies

View horizontal scaling strategies and best practices for sharding collections.

View Cluster Configuration

View status information about the cluster's databases, shards, and chunks.

Add Shards to a Cluster

Add a shard to add capacity to a sharded cluster.

Add a Member to a Shard

Add a member to a shard in a sharded cluster.

Remove Shards from a Sharded Cluster

Migrate a single shard's data and remove the shard.
Transition from Embedded to Dedicated Config Server
Transition from an embedded config server to a dedicated config server.

Unshard a Collection

Manually unshard a sharded collection.

Clear jumbo Flag

Manually clear jumbo flag from a chunk.

Drop a Hashed Shard Key Index

Drop a Hashed Shard Key Index.

Config Shard

You can configure a config server to store both application data and the usual sharded cluster metadata.

Start a Sharded Cluster with a Config Shard

Start a Sharded Cluster with a Config Shard.

Reshard to the Same Shard Key

Reshard to the Same Shard Key.

Reshard a Collection back to the Same Shard Key

Reshard a Collection back to the Same Shard Key.

Resharding for Adding and Removing Shards

Resharding for Adding and Removing Shards.