Reduce stored loyalty data to improve system performance by configuring scheduled data purges.
How purging works
- Purges run automatically via a scheduled task.
- You can select specific data types to purge.
- For each data type, define parameters and set the earliest date to retain records.
- Each purge run deletes up to 1000 records. If more records are eligible, the purge continues in subsequent runs.
Avoid accidental deletion
To prevent unintended data loss:
- Always set the earliest retention date in the future.
- Setting a date in the past may result in immediate deletion of eligible records.
Configure a data purge
- Go to Loyalty Manager > Settings > Data Purge.
- Tick the Enable purge checkbox for each data type you want to purge.
- Set the earliest date to retain records.
- Save your changes.
Scheduling the purge task
To enable the purge process:
- Go to Loyalty > Scheduled Tasks > General Tasks.
- Enable the Data Purge task.
- Configure the following parameters:
- BatchSize: Number of records to delete per batch (e.g. 1000).
- MaxRowsPerTable: Maximum number of records to purge per table.
- TimeLimitInMinutes: Maximum time the task should run.
What to expect
- Records may not be deleted immediately after configuration.
- The purge process respects the batch size and time limits to maintain system stability.
- Start and end dates refer to when the purge task begins and completes.
- The earliest retained date determines which records are eligible for deletion, not when they will be deleted.
Comments
0 comments
Please sign in to leave a comment.