Rudder - Database Management
Database management
Rudder stores all reports received from nodes in a database. These reports are used to calculate compliance for Rules applied to Nodes. The database can grow quite large, and keeping older reports is usually useless if you don't need to examine compliance data in the past. This page enables you to archive or delete them to limit disk space usage.

Active reports
Active reports are stored in an SQL table with full indexing. Storing large quantities may consume considerable disk space, and generally slow Rudder down. Active reports are required to calculate current compliance, and are available for problem analysis in the "Technical logs" tab of a node's details.
Note: When reports are archived or deleted, they are removed from the active reports table. However, this will not immediately free up disk space (but new active reports will not use any extra space). See the Rudder User Documentation to recover this space.
Newest report: [Here comes the newest entry]
Oldest report: [Here comes the oldest entry]
Total disk space used by reports: [here comes the database size]
Archived reports
Archived reports are stored in an SQL table without any indexes, thus providing a substantial saving on disk space required to store them compared to the current reports above. Archived reports will not be available in the "Technical logs" tab of a node's details. However, they remain available for future analysis by a plugin or an expert user.
Note: When archived reports are deleted, disk space is freed immediately.
Newest archived report: [Here comes the newest archived entry]
Oldest archived report: [Here comes the oldest archived entry]
Total disk space used by archived reports: [here comes the archive size]
Automatic report cleaning
Regular archiving and deleting of reports can be set in the Rudder configuration file (/opt/rudder/etc/rudder-web.properties).
Enabling regular archiving and deleting of old reports is highly recommended, to avoid Rudder's disk usage growing forever.
Automatic report archiving is [Here comes the report archiving status]. All reports older than [Here comes the automatic report archive age parameter] days will be archived regularly.
Automatic report deleting is [Here comes the report deleting status]. All reports older than [Here comes the automatic report delete age parameter] days will be deleted regularly.
Frequency: [Here comes the archive cleaning job frequency]
Next run: [Here comes the next run time for the archive cleaning job]
Manual report cleaning
You can trigger a reports database cleaning in this section. If a archive or delete process is already in progress, you will have to wait until the cleaning process is idle.
The archive process is [Here comes the report archiving progress].
The delete process is [Here comes the report archiving progress].
all reports older than: