Explain it in 60 seconds
GSI vs LSI in DynamoDB
Backend Engineering · NoSQL and Redis · Intermediate
What is the difference between a global secondary index and a local secondary index in DynamoDB?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- GSI: different partition key, any time.
- Eventually consistent, own capacity.
- LSI: same partition key, different sort key.
- Created at table creation; strong reads possible.
- LSI limits partition size (10 GB per key).
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.