Question: How many secondary indexes are allowed per table DynamoDB?

Answered by Rafal Wilinski
Answer
Secondary indexes are required to extend the access patterns in your database. It can be implemented via a Global or Local Secondary Index.
A Global Secondary Index supports a new pair of Hash, and Range Keys, while a Local Secondary Index creates an index using the existing Hash Key against a new Range Key.
Developers can create up to 20 global secondary indexes and 5 local secondary indexes per table.
Other Common DynamoDB FAQ (with Answers)
- Can colons and special characters be used in DynamoDB attributes?
- How to access DynamoDB from EC2?
- Is DynamoDB table region specific?
- Does DynamoDB support load balancing?
- Can a DynamoDB range key be a GSI key?
- What is the maximum number of partitions in DynamoDB?
- Can we rename DynamoDB table?
- How to connect to DynamoDB?
- What is DynamoDB used for?
- How to import data from S3 to DynamoDB?
- Does Alexa use DynamoDB?
- Can we store list in DynamoDB?
- Can DynamoDB have nested objects?
- Can we pass objects as an item in DynamoDB?
- Is DynamoDB based on MongoDB?
Tired of switching accounts and regions? Use Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase