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?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南