An extreme cleanup job to remove all old page versions and truncate logs.
Backup your site before using Extreme Clean. I accept no responsibility if you end up cleaning critical data!
When you are intensively editing and developing a site, old page versions can easily accumulate much faster than the core Remove Old Page Versions job can remove them. The database grows and slows. Backups take longer because they are saving old page versions you no longer care about.
Hence Extreme Clean. Extreme Clean is designed to scour your site of old page versions, trimming pages down to a configurable history size. As a bonus Extreme Clean will also truncate logs tables of unwanted history. Extreme Clean runs as a queueable job, so can simply be set running from the dashboard jobs page and it will iterate away happily by itself until it has scoured old page versions from an entire site. Extreme Clean can also trim the Logs and JobsLog tables.
Extreme Clean also comes with a handy dashboard page for adjusting the cleanup settings Dashboard > System & Settings > Optimisation > Extreme Clean Settings.
Backup your site before using Extreme Clean. I accept no responsibility if you end up cleaning critical data! Once you have Extreme Clean configured, a safe strategy is to run it after your regular backups, so keeping the database clean ready for the next backup.
If you have used the concrete5.6 version of Extreme Clean, this implementation for concrete5.7 and concrete5 v8+ has refined the way pages are cleaned and provides simple configuration through the dashboard.
See more addons by JohntheFish.