shardkey
A shard key is a field or set of fields used by a distributed database to partition data across multiple storage nodes called shards. The shard key determines where a particular document or row is stored and guides query routing to the relevant shards.
Sharding typically uses one of several partitioning schemes. Range-based sharding maps continuous ranges of shard key
A well-chosen shard key helps minimize cross-shard operations, balance load, and enable efficient routing by the
Operationally, a sharded deployment comprises shards, config servers, and query routers. Data is split into chunks
Common examples include MongoDB, where a collection is sharded on a field such as userId, either in