Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I have a pre-existing dynamo db table to which I want to add a primary sort key. All the items in the table contain the key which I want to delegate as the primary sort key.

1 Answer

0 votes
by (44.4k points)

DynamoDB doesn’t allow to add a sort key for an already existing table. Your only option is to create a new table with redefined key attributes and then copy the data from the existing table to the newly created table.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories

...