Software Engineering KB

Home

❯

03 Data Management

❯

03 Sharding and Partitioning

❯

00 Category

❯

Choosing a Shard Key

Choosing a Shard Key

Feb 10, 20261 min read

  • sharding
  • shard-key

Choosing a Shard Key

Back: Sharding and Partitioning

The shard key determines how data is distributed across shards. A poor choice leads to hotspots, cross-shard queries, and rebalancing problems. The shard key is the most critical decision in a sharded architecture.

Concepts

  • High Cardinality
  • Even Distribution
  • Query Alignment
  • Immutability
  • Compound Shard Keys

sharding shard-key


Graph View

  • Choosing a Shard Key
  • Concepts

Backlinks

  • Compound Shard Keys
  • Even Distribution
  • High Cardinality
  • Immutability (Sharding)
  • Query Alignment
  • Sharding and Partitioning

Created with Quartz v4.5.2 © 2026

  • GitHub