Ravi Sir's Cards › AWS
Partition vs sort key?
This interview card answers: Partition vs sort key? Partition key picks where data lives. Sort key orders items and allows ranges. Design keys from your access patterns.
Read card text
What this card says
What it is
Partition key picks where data lives.
Why it matters
Sort key orders items and allows ranges.
begins_with(odate, :m)
How / example
Design keys from your access patterns.