Mulai sekarangMulai gratis

Choosing the right GSI design for email lookups

You have a "Users" table with userId (partition key) and no sort key. Users are queried by userId during login. Now you need to add a "forgot password" feature that looks up users by email address. You're considering adding a GSI.

Which GSI design is BEST for this use case?

Latihan ini merupakan bagian dari kursus

Using Data Stores in AWS

Lihat Kursus

Latihan interaktif langsung

Ubah teori menjadi aksi dengan salah satu latihan interaktif kami

Mulai latihan