Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

GSI and LSI

This revision card explains GSI and LSI. A second access pattern appears after launch. It describes GSI = new PK/SK for Queries. LSI = same PK, different SK; created with the table. The how-to section covers how to add GSI email-index; Query by email without Scan. An example on the card is find user by email for login , then GSI on email.

GSI and LSI A second access pattern appears after launch. GSI = new PK/SK for Queries. LSI = same PK, different SK; created with the table. Add GSI email-index; Query by email without Scan. Find user by email for login → GSI on email.
GSI and LSI · Download PNG
Read card text

What this card says

Why do we need it?

A second access pattern appears after launch.

What is it?

GSI = new PK/SK for Queries. LSI = same PK, different SK; created with the table.

How to do it

Add GSI email-index; Query by email without Scan.

Example

Find user by email for login → GSI on email.

See all AWS revision cards