| 1. |
What is Sharding? |
|
Answer» Sharding is a process of splitting the large logical dataset into multiple databases. It ALSO refers to HORIZONTAL partitioning of DATA as it will be stored on multiple machines. By doing so, a sharded database becomes capable of HANDLING more requests than a single large machine. Consider an example - in the following image, assume that we have around 1TB of data present in the database, when we perform sharding, we divide the large 1TB data into smaller chunks of 256GB into partitions called shards. Sharding HELPS to scale databases by helping to handle the increased load by providing increased throughput, storage capacity and ensuring high availability. |
|