We have a large amount of data in a table, and we need to delete items that are older than a certain threshold.
After examining the code in the DbArchiver.php class, I noticed that there's a variable hardcoded without being configurable through config_override.php.
private const ARCHIVE_LIMIT = 10000;
- How can we change this limit?
- We have altered the scheduler to run once per day instead of the OOTB once per week.
- Right a custom scheduler?
If we have 1M rows it is going to take 100 days to purge the older data but we will never catch up as we keep adding data to the table.
Thoughts, Suggestions?