W
W
WbICHA2020-04-28 14:58:34
Amazon Web Services
WbICHA, 2020-04-28 14:58:34

Default TTL value in DynamoDB when adding to an existing table?

I need to add a TTL to an existing DynamoDB table, which of course is not empty.
And at this stage, I had a question: what will be the TTL in the already existing database elements?
I did not find a clear answer to this question, but on similar questions I found information that the TTL will be empty and such data will not be deleted.
And so I would like to get a clear answer, otherwise I don’t want to lose data from the database inadvertently.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-04-28
@WblCHA

So it's very difficult to read the official documentation ?)

Items with no TTL attribute, or with an expiration time more than 5 years in the past, are not deleted.

Just a reminder that DynamoDB is not a table storage, but key-value storage, and old records will not have a new field until the records are forcefully updated with this field

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question