partition key

The DynamoDB attribute whose value decides which storage partition an item lives in, and which every query must name.

In more detail

Items with the same partition key form an item collection, stored and read together. Choose a key with many distinct, evenly used values so traffic spreads across partitions instead of piling onto one.

Example

conversation_id -> shard for chat; tenant plus time bucket -> shard for metrics.

Related terms

Taught in

References

Certification courses