Search⌘ K
AI Features

Local Secondary Index

Explore how to use Local Secondary Indexes in DynamoDB to enable strongly consistent reads on non-primary key attributes. Understand their data model requirements, projection options, and the restrictions involved, including creation timing and size limits on item collections.

We'll cover the following...

Use case

Almost everything we do with a LSI can also be done with a GSI. However, there is one thing that LSI provides one thing over GSI that makes it a better option in some cases. It provides strongly consistent reads. Thus, a local secondary index will be our ...