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

Ravi Sir's Cards › AWS

New PK or same PK?

This comparison card contrasts New PK or same PK. GSI: Own PK/SK anytime. It also notes eventually consistent. LSI: Same PK different SK. It also notes create-time. It can be strong.

New PK or same PK?: GSI vs LSI
New PK or same PK? · Download PNG
Read card text

What this card says

New PK or same PK?

GSI

Own PK/SK anytime; eventually consistent.

LSI

Same PK different SK; create-time; can be strong.

Key points

Most alternate accesses.

Rare same-PK sorts known at create.

Example

Create GSI online

Use when

Default.

Only if sure.

See all AWS revision cards