If you are looking for details on using TTL for managing old data, check out the Manage Data with TTL user guide. The docs below demonstrate how to alter or remove an existing TTL rule.
MODIFY TTL
You can change table TTL with a request of the following form:REMOVE TTL
TTL-property can be removed from table with the following query:TTL:
OPTIMIZE to force TTL cleanup:
TTL with the following query:
TTL cleanup again with OPTIMIZE:
TTL is no longer there, so the second row is not deleted:
- More about the TTL-expression.
- Modify column with TTL.