Options
Why
Hashing scatters neighbouring keys across all shards, so a range scan must ask every shard. Range partitioning keeps them together, but risks hot spots when writes cluster at one end of the range.
Sharding · Multiple choice
Hashing scatters neighbouring keys across all shards, so a range scan must ask every shard. Range partitioning keeps them together, but risks hot spots when writes cluster at one end of the range.