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)
- Is DynamoDB NoSQL?
- How to write a test case for mocking DynamoDB?
- Does DynamoDB support cross-region replication?
- Can DynamoDB table have adhoc attributes?
- Is DynamoDB HIPAA compliant?
- Is DynamoDB a key-value store?
- What is DynamoDB used for?
- Is DynamoDB open source?
- How to import data from S3 to DynamoDB?
- Is DynamoDB similar to MongoDB?
- Are DynamoDB table names supposed to be unique?
- Can firehose write to DynamoDB?
- Can DynamoDB have null values?
- How resilient is DynamoDB?
- Is DynamoDB stateless?
Dynobase is a Professional GUI Client for DynamoDB
Try 7-day free trial. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase