Summary
In summary, different sharding strategies are used under different conditions. It is important to choose the strategy according to the situation faced. Choosing whether you want to shard your database is also an important decision, as undoing changes to such a huge change in the database is a tough task. It is best to try other optimization strategies first before sharding a database.