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

Ravi Sir's Cards › AWS

GSI and LSI

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

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