Introduction
We use Querying GSI to quickly find items in a DynamoDB table using an alternate key. It helps when you want to search by something other than the main key.
You want to find all orders by a specific customer ID instead of the order ID.
You need to get all products in a category quickly.
You want to list all events happening on a certain date.
You want to filter items by a status or tag that is not the main key.