A defined rule specifying how long data must be kept in a MySQL database before it can be deleted or archived. Driven by legal obligations (GDPR, financial record-keeping laws) and storage cost constraints. SQLyog’s scheduled jobs can automate the enforcement of retention rules.