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)
- Should you make a new DynamoDB client for each request?
- In DynamoDB, can I use UUID as the partition key?
- Is DynamoDB certification worth it?
- Does DynamoDB support read replicas?
- Can you store XML in DynamoDB?
- How to access DynamoDB from Apache Storm?
- How to access DynamoDB from EC2?
- What is DynamoDB used for?
- Does DynamoDB have read replicas?
- How is data stored in DynamoDB?
- Is DynamoDB stateless?
- Is DynamoDB open source?
- Is DynamoDB NoSQL?
- Does DynamoDB Support SQL?
- Does DynamoDB support atomic updates?
Spend less time in the AWS console, use Dynobase.
First 7 days are. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase