September 2018
Beginner to intermediate
192 pages
4h 37m
English
The hashed sharding strategy creates a hash of the shard key before distributing documents between chunks:

The advantage is that you are ensured an even distribution of data across shards. The disadvantage is that you lose the ability to target specific shards based on the knowledge of the contents of the shard key field.
Use hashed sharding if your shard key has either of the following characteristics:
Read now
Unlock full access