Ravi Sir's Cards › AWS
Same PK range or new PK?
This comparison card contrasts Same PK range or new PK. Sort key range is described as range inside item collection. GSI alternate is described as new access via other PK. The card pairs Sort key range with first tool, and GSI alternate with when PK wrong.
Read card text
What this card says
Same PK range or new PK?
Sort key range
Range inside item collection.
GSI alternate
New access via other PK.
Key points
Time/status under user.
Email/city lookups.
Example
SK begins_with / between
Use when
First tool.
When PK wrong.