Sharding¶
Sharding distributes a
single logical database system across a cluster of machines. Sharding
uses range-based portioning to distribute documents
based on a
specific shard key.
This page lists the documents, tutorials, and reference pages that
describe sharding.
For an overview, see Sharding Fundamentals. To configure, maintain, and
troubleshoot sharded clusters, see Sharded Cluster Administration. For
deployment architectures, see
Sharded Cluster Architectures. For details on the
internal operations of sharding, see Sharding Internals.
For procedures for performing certain sharding tasks, see the Tutorials
list.
Documentation¶
The following is the outline of the main documentation:
- Sharding Fundamentals
- Sharding Overview
- Sharding Requirements
- Shard Keys
- Config Servers
- mongos and Querying
- Balancing and Distribution
- Security Considerations for Sharded Clusters
- Sharded Cluster Administration
- Set up a Sharded Cluster
- Cluster Management
- Chunk Management
- Balancer Operations
- Config Server Maintenance
- Troubleshooting
- Sharded Cluster Architectures
- Deploying a Test Cluster
- Deploying a Production Cluster
- Sharded and Non-Sharded Data
- High Availability and MongoDB
- Sharding Internals
- Shard Keys
- Cluster Balancer
- Config Database
Tutorials¶
The following tutorials describe specific sharding procedures:
- Deploy a Sharded Cluster
- Add Shards to an Existing Cluster
- Remove Shards from an Existing Sharded Cluster
- Enforce Unique Keys for Sharded Collections
- Convert a Replica Set to a Replicated Sharded Cluster
Reference¶
The following reference section describes sharding commands: