Database Reference
In-Depth Information
The benefits of using sharding are not limited to reducing the size of the database and di-
viding it among smaller instances. With the help of sharding, you can support a higher
amount of requests from clients and improve the database performance as well.
The idea is that a client needs to access a single instance or shard when writing data, and
not the entire database. Hence, clients request routes to different shards and machines in-
stead of a single database and machine. As a result, the entire database can now support
more requests.
In the next sections, we will detail how to choose a shard key and set up sharding for a
database.
Search WWH ::




Custom Search