As of SAP Release 4.6D
(for application statistics: Base SAS 6.10), the threaded kernel starts
a statistics file on the hour. This procedure offers two advantages:
-
Access to the statistics file is
much faster.
-
Updated statistics files are available.
Before SAP Release 4.6D,
the collector deleted the statistics file if it was larger than a
defined size.
In the current release,
the duration for storing the statistics files can be specified (for
example, 48 hours). The collector deletes statistics files that are
older than the specified time if all records from the statistics file
have been processed.
The duration should
always be shorter than the value for the stat/max file. A stat/max
file defines the maximum number of statistics files that are allowed.
When you reach the limit, the threaded kernel overwrites the older
statistics files.
A reasonable value for
a stat/max file is 72 hours. If this value is set to 0, SAP works
with one statistics file only, as it did in releases before 4.6D.
When SAP is invoked,
statistics files older than seven days are automatically deleted.
In addition, for each collector that runs, files older than the specified
duration are deleted.