January 2019
Beginner to intermediate
372 pages
11h 17m
English
Sharding involves partitioning data to distribute it across multiple devices. Sharding is not a new concept to achieve a distribution of computing resources. It has been used to achieve scalability in databases. Database shards are created by horizontally partitioning tables. Each partition, or shard, is often held in a physically separated server to balance the load.
Partitioning the database table horizontally into shards will reduce the number of rows and thus reduce the index size, which would optimize searching. If the database partitioning is performed on real-world data segmentation, such as storing data related to different countries on different shards, it would be easy to query only the relevant ...
Read now
Unlock full access