Hi all :wave: when you replace a DynamoDB table (f...
# general
g
Hi all 👋 when you replace a DynamoDB table (for example when the hashkey attribute changes), will the data be deleted?
w
Yes. Unless AWS provides an in-place update option for the change in question, it will need to be replaced which will result in losing the data from the old Table. In general, as a result, DynamoDB has best practices around schema evolution that involve creating new tables or adding secondary indexes instead of changing existing tables for production data stores.
g
I thought so 🙂 Just checking if my assumption was correct