NoSQL Secondary Indexes

Difficulty: Advanced

Question

What is a Global Secondary Index (GSI) in DynamoDB?

Answer

An index with a partition key and sort key that can be different from those on the base table, allowing you to query the same data in multiple ways.

Concepts covered

DynamoDB, GSI, LSI