Turn on TTL functionality on existing DynamoDB table

0

Hi, I have a couple of questions about turning on TTL on a table that has already several GB's of data (we already have a field with proper format to use as TTL):

  • Will the TTL config apply to old information or just to new added rows?
  • If answer to first question is yes: Can this "massive" deletion affect performance or It will just run in background, following the regular behavior?

Thanks.

已提问 1 年前705 查看次数
2 回答
2
已接受的回答

Will the TTL config apply to old information or just to new added rows?

Yes

If answer to first question is yes: Can this "massive" deletion affect performance or It will just run in background, following the regular behavior?

It will just run in the background, there will never be performance degradation caused by TTL.

profile pictureAWS
专家
已回答 1 年前
0
  1. The TTL config will apply to both old and new information in the table.
  2. The deletion of data due to TTL will run in the background and should not affect performance too much as it's an asynchronous process. However, the exact impact on performance depends on the size of the table and the rate at which the data is being deleted.
profile picture
已回答 1 年前
  • However, the exact impact on performance depends on the size of the table and the rate at which the data is being deleted.

    Can you point me to the documentation for this please?

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

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

回答问题的准则