Cleanup of baseline comparison results

You can specify a retention period for baseline comparison results. A cron task is configured to run each night to delete any result records older than the configured retention period.

When you compare the members of a CI baseline to the corresponding actual CIs, the comparison results can be stored in the database. You can specify how long the results are stored. You might want to store the results long enough to be able to run reports that use their data, but not so long that they fill up your database. You can try different values for the retention period until you find one that meets your needs.

The retention period is a number of days and is stored in the system property cci.baseline.actualCIComparisonKeepDays. You can modify this property in the System Properties application. You can specify any of these values:
Table 1.
Property value Behavior
0 Results are deleted when the user exits the comparison results dialog. The cron task will delete any results more than one day old, to cover user session timeouts or other unusual conditions. This is the default value.
> 0 Results are not deleted when the user exits the comparison results dialog. The cron task will delete any results more than the specified numbers of days old.
-1 Results are never deleted.

The cron task that performs the cleanup of result data is called CleanBaselineComparisonResults. It is configured to run once per day at 1:00 A.M. You can modify its properties in the Cron Task Setup application. You might want to modify its frequency depending on the retention period you specify. If you specify -1, so that results are never deleted, you can turn off the cron task, since it will never delete any results. If you modify the retention period, review the cron task settings to be sure they are appropriate.