You use the workload monitor to analyze statistical data from the SAP kernel. You can influence the type and scope of the data entry and the data storage in a number of ways. This process presents these influence methods.
You do not need to configure the Workload Monitor before you use it for the first time. The delivered settings usually ensure correct operation. You therefore only need to change the parameters of the collector and of the performance database when troubleshooting or if performance problems occur.
Note that to display statistical data, you need to have scheduled the job SAP_COLLECTOR_FOR_PERFMONITOR (see Background Jobs to Be Scheduled Regularly).
You can intervene at various points in the data collection and storage:
You can determine whether statistics data is to be saved in the workload collector database at all, broken down by different profiles (which correspond to the various analysis views). You can also determine in the same way how and after how long this data is to be reorganized. For more information, see Controlling and Monitoring the Creation of Statistics Data.
In addition to the workload collector database, there is also the monitoring database MONI, which contains performance data that is displayed in other transactions. You can, however, monitor the scope and reorganization of MONI from the workload monitor (see Reorganizing and Monitoring the Monitoring Database MONI).
If problems occur when reorganizing the statistics data, you can display and manually delete the corresponding contents of the workload collector database (see Displaying and Deleting the Contents of the Workload Collector Database).
Various performance collectors are responsible both for the collection of the workload data and for collecting performance data for other transactions. The collectors run at regular intervals.
These times are saved in the table TCOLL. By changing the entries in TCOLL, you can determine which collectors run, and how often (see Displaying and Changing the Scheduling of Performance Collectors).
There are a number
of relevant profile and online parameters that are relevant for the workload
collector. You can display the relevant profile parameters separately for each
instance by choosing Collector & Performance DB →
Statistics Records and File →
Relevant Profile Parameters in the navigation bar. Since you cannot change
these profile parameters during running operation, but only by a restart of
the relevant instance, you can only display the parameters. To change the
parameters, use transaction RZ10 (Edit Profiles).
The two following profile parameters are especially important:
● stat/max_files specifies how many statistics files the kernel uses. If the value of the parameter is greater than 0, a new statistics file is created for each hour. The size of the value determines how many statistics files are to exist simultaneously before the oldest file is deleted. The default value of the parameter is 48. This means that you can access the statistics data of the dialog step statistics within two days.
● stat/as_max_filesspecifies the corresponding value for the application statistics.
Online parameters
are profile parameters for which changes take effect immediately (without a
restart of the affected instance). Unlike the relevant profile parameters, you
can change the online parameters directly in the workload monitor. To do this,
choose Collector &
Performance DB
→
Statistics Records & File →
Online Parameters. You require the online parameters for the
following statistics, among others:
Workload Monitor
start page