Data management strategies for your databases in Google Cloud
In the previous section, we learned that the choice we make from the different database options offered by Google Cloud will depend on the workloads we face when considering factors such as data structure, data volume, latency, and throughput. In this section, we will focus on factors that allow us to get the best performance from our database, to ensure that applications developed on these databases function optimally.
What is database sharding?
Database sharding is a horizontal partition of data held on a separate server to spread the load.
Some of the database solutions that Google Cloud offers, such as Firestore, Cloud Spanner, and Bigtable, do database sharding in order to give the benefits of horizontal scaling.
One of the problems of database sharding is hot-spotting, a performance problem that we are going to review in the next section.
What is hot-spotting, and why should you avoid it?
Hot-spotting...