Delete records in Dynamodb without a TTL

0

A customer has initially created a table that did not have a TTL. A TTL has subsequently been added and they'd now like to purge all of the old data (there are a lot of records) that does not have the TTL attribute. I'm trying to determine the best way to go about removing the data.

AWS
已提问 5 年前793 查看次数
1 回答
0
已接受的回答

They should simply delete, or use BatchWriteItem, to delete the items. There is no gain by adding a TTL attribute to each item that doesn't have it. That update could not be done in batch, and would use the same WCUs as simply deleting the items.

已回答 5 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则