OPTIONS

Sharded Cluster Deployment TutorialsΒΆ

The following tutorials provide information on deploying sharded clusters.

Deploy a Sharded Cluster
Set up a sharded cluster by creating the needed data directories, starting the required MongoDB instances, and configuring the cluster settings.
Considerations for Selecting Shard Keys
Choose the field that MongoDB uses to parse a collection’s documents for distribution over the cluster’s shards. Each shard holds documents with values within a certain range.
Shard a Collection Using a Hashed Shard Key
Shard a collection based on hashes of a field’s values in order to ensure even distribution over the collection’s shards.
Add Shards to a Cluster
Add a shard to add capacity to a sharded cluster.
Convert a Replica Set to a Sharded Cluster
Convert a replica set to a sharded cluster in which each shard is its own replica set.
Upgrade Config Servers to Replica Set
Convert three mirrored config servers to a replica set. The procedure does not require any downtime. Requires MongoDB version 3.2.4 or greater.
Upgrade Config Servers to Replica Set (Downtime)
Convert three mirrored config servers to a replica set. The procedure requires downtime.
Convert Sharded Cluster to Replica Set
Replace your sharded cluster with a single replica set.

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.