How Can We Help?
What is the Audit Entry Archiver Cron Job?What is the Audit Entry Archiver Cron Job?
What
We have a job in Pure named "Audit Entry Archiver". What does it do, any why do we have it?
This job was introduced in Pure 4.18, because a number of clients were starting to have so much audit data that the performance of the database was starting to degrade.
How
The job checks if there are more than 100.000 rows in the audit log database tables, and if there are, the audit data is moved to zip files in the file system.
The files will be stored in "Server data dir"/admin/audit, and you can see the "Server data dir" setting in Administrator > System settings > Core configuration, to find the exact location of the files.
Note:
- If these files are stored on a slow disc or a network mounted drive, then performance in Pure can suffer, especially when you look at the comments and history tab on content.
- If the files are not copied with a database dump to a test server, then audit will be missing information about when the content was created, and there can be gaps in the history and comments on content in Pure.
- The job only creates a job log entry when there is audit entries enough to move to the disc, so it can be tricky to see if it has been run.
- The job is highly recommended to be run every day.
More information
KB-231: History and Comments: Missing after an upgrade
Updated at July 27, 2024