Sharding breaks a heavyweight database into bite-sized chunks spread across servers. That means better scalability, less strain on any one node.
The key? Picking the right shard key. Get that wrong, and you’re in cross-shard query hell.
Modulo, range, and consistent hashing each slice the pie differently—none perfect. Rebalancing’s a headache too.