Question: Can a DynamoDB range key be a GSI key?
Answered by Rafal Wilinski
Answer
Yes, a DynamoDB range key can also be used as a GSI (global secondary index).It is common to use the same attribute as the range key and the GSI key. When you create a GSI, you can specify the range key attribute as the key to be indexed. This allows you to perform query operations on the range key attribute using the GSI and query and scan operations on the primary key attribute using the table.
Other Common DynamoDB FAQ (with Answers)
- Is DynamoDB based on MongoDB?
- In DynamoDB, can I use UUID as the partition key?
- Is DynamoDB multi-region?
- Can DynamoDB trigger AWS Step Functions?
- Can DynamoDB have null values?
- Can DynamoDB have multiple tables?
- What type of database is DynamoDB?
- Can Django use DynamoDB?
- Can DynamoDB store relational data?
- Can Tableau connect to DynamoDB?
- Can we store list in DynamoDB?
- How to access DynamoDB from EC2?
- Is DynamoDB NoSQL?
- Can DynamoDB run on Mac OS?
- Can you store XML in DynamoDB?
Dynobase is a Professional GUI Client for DynamoDB
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2024 Dynobase