Best practices for using secondary indexes in DynamoDB
Secondary indexes are often essential to support the query patterns that your application requires. At the same time, overusing secondary indexes or using them inefficiently can add cost and reduce performance unnecessarily.
Contents
- General guidelines for secondary indexes in DynamoDB
- Take advantage of sparse indexes
- Using Global Secondary Indexes for materialized aggregation queries in DynamoDB
- Overloading Global Secondary Indexes in DynamoDB
- Using Global Secondary Index write sharding for selective table queries in DynamoDB
- Using Global Secondary Indexes to create an eventually consistent replica in DynamoDB