One Query Or A Scan
A single DynamoDB table stores several entity types in one item collection per organization:
| PK | SK | attributes |
|---|---|---|
| ORG#42 | META | name, plan, seats |
| ORG#42 | USER#7 | email, role |
| ORG#42 | USER#9 | email, role |
| ORG#42 | PROJ#a1 | title, status |
| ORG#42 | PROJ#b2 | title, status |
| ORG#88 | META | name, plan, seats |
Which access pattern cannot be served by a Query against this table, and forces either a full table Scan or a new global secondary index?
Sign in to answer questions and track your progress
Sign In