SkillSprout
Chapter 16

Data Partitioning

When data outgrows one machine, you split it into pieces spread across many machines. You will learn how to split it, the main strategies, and the problems that splitting creates.

1Why Partition Data: Horizontal, Vertical and Sharding
Beginner
3 min
2Partitioning Strategies: Range, Hash, Directory and Consistent Hashing
Intermediate
3 min
3Hot Shards, Resharding and Choosing a Shard Key
Advanced
3 min

Chapter quiz

Data Partitioning · 5 questions

  1. 1.Sharding is best described as:

  2. 2.Why is hash(key) mod N a problem when N changes?

  3. 3.Which strategy is best for range queries like 'all orders in March'?

  4. 4.What is a hot shard?

  5. 5.A query that does not include the shard key usually has to:

0 of 5 answered