retention policy
The rule for how long each kind of data is kept before it is deleted.
A retention policy sets how long data at each resolution is stored, after which it is deleted or moved to cheaper storage.
Examples
The greenhouse keeps raw readings for 30 days, hourly summaries for 2 years, and a compressed archive of the raw readings for a year.
See also