Sharding spreads data across many databases to scale, but it moves the problem from one big database to a set…