Introduction
Choosing a good shard key helps spread data evenly across servers. This makes your database faster and more reliable.
When your database grows too big for one server.
When you want to make queries faster by splitting data.
When you want to add more servers to handle more users.
When you want to avoid one server getting too busy.
When you want to keep data balanced and easy to find.