Adding a new local secondary index to an existing DynamoDB table

Can I add a new local secondary index to an existing DynamoDB table?

+7
amazon-dynamodb
source share
2 answers

no, you cannot do this, only adding a global secondary index is possible for an existing table.

from the documentation :

Local secondary indexes on a table are created when the table is created. 
+8
source share

Read the documentation below. You can find the differences between GSI and LSI in the table.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SecondaryIndexes.html

0
source share

All Articles