Retention period

The retention period is the length of time a piece of data may be kept, set according to the purpose of the processing and legal obligations. After this period, the data must be deleted or anonymized. It is implemented through automatic purges and documented by category of data.

Example

DELETE FROM sessions WHERE cree_le < NOW() - INTERVAL '13 months';

Related concepts

The whole glossary