Sharding Strategies / Conclusion
Sharding Strategies
You learned how to:
Learning Objectives
Set Up MongoDB Sharding Architecture: Explain MongoDB’s sharding architecture and the deployment process of a sharded cluster.
Distribute Data in a Sharded Cluster: Explain how to partition data across shards and manage unsharded collections within a sharded cluster.
Identify the Optimal Shard Key for Your Application: Implement the optimal shard key and data distribution option for your application's requirements.
Modify Your Sharding Strategy: Adapt your sharding strategy by resharding your collection with a new shard key, or by refining an existing shard key for evolving application demands.
Earn Your Badge
To earn your badge, complete a skill check. Once you receive a passing score on the skill check, you'll receive an official Credly badge via the email you provided.
Resources
Use the following resources to learn more about sharding in MongoDB:
Sharding Architecture & Deployment
- MongoDB Docs: Deploy a Self-Managed Sharded Cluster
- Video: Sharding and Spring Data MongoDB: Scale Your Data
Sharding Collections
- MongoDB Docs: Shard a Collection
- MongoDB Docs: sh.shardCollection
Shard Keys & Distribution Options
- MongoDB Docs: Choose a Shard Key
- MongoDB Docs: configureQueryAnalyzer
- MongoDB Docs: analyzeShardKey
- MongoDB Docs: Drop a Hashed Shard Key Index
Modifying Your Sharding Strategy
- MongoDB Docs: Troubleshoot Shard Keys
- MongoDB Docs: Reshard a Collection
- MongoDB Docs: Refine a Shard Key