Skill 1.3.1

Describe high-cardinality partition keys for balanced partition access

Key Concepts

Good partition keys include user IDs, order IDs or device IDs, where requests are spread across many values. Poor keys include a status field, a date or a small set of categories, where most traffic lands on a few values and overloads their partitions, causing throttling even though the table as a whole has spare capacity.

When the natural key is not distributed enough, you can add a random or calculated suffix (write sharding), for example 2026-10-05#7, and read across all suffixes when querying. DynamoDB's adaptive capacity helps with uneven traffic, but it does not replace a good key design.