Skip to content

Glossary: System Design Basics

Shard key

The column that decides which shard a row lives on; `customer_id` keeps a customer's orders together.

Where the book teaches it

Related terms

ShardingHash shardingCross-shard query