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
posta 5 anni fa793 visualizzazioni
1 Risposta
0
Risposta accettata

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.

con risposta 5 anni fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande