Sharding - CI/CD Glossary Definition
Sharding splits one logical dataset across multiple databases (shards) by a shard key, so each server holds only a slice of the data and the system scales horizontally.
The cost
Queries and migrations must run against every shard, and cross-shard joins and unique constraints become hard, so sharding is adopted only when a single database can no longer keep up.