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)
- What kind of database is DynamoDB?
- How to access DynamoDB from outside?
- How to access DynamoDB from Apache Storm?
- How to dump multiple DynamoDB tables?
- How to access DynamoDB from Android Studio?
- Is DynamoDB OLTP or OLAP?
- How does DynamoDB handle data changes?
- Can I add another region to global DynamoDB?
- Can DynamoDB do aggregations?
- How to divert the traffic from S3 to DynamoDB?
- Who invented DynamoDB?
- What are the key differences between DynamoDB and Neo4j?
- Is DynamoDB a backend database?
- Why is DynamoDB bad?
- Can DynamoDB store blob data?
Login to the AWS Console less. Use Dynobase.
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase