Local Secondary Index (LSI) and Global Secondary Index (GSI)
LSI: alternate sort key on the same partition — created at table creation time only
GSI: completely different partition key + sort key — created anytime
Table: Orders (PK: customer_id, SK: order_id)
GSI: status-date-index (PK: status, SK: order_date)
→ Query all "pending" orders from the last 7 days
GSIs are billed separately and have their own throughput capacity.