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.

preguntada hace un año705 visualizaciones
2 Respuestas
2
Respuesta aceptada

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
EXPERTO
respondido hace un año
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
respondido hace un año
  • 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?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas