Show TOC

 Configuring the Workload MonitorLocate this document in the navigation structure

Purpose

You use the workload monitor to analyze statistical data from the SAP kernel. When doing so, there are many ways in which you can influence the type and scope of both the data collection and the data storage. This process presents these influence methods.

Note

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.

Prerequisites

Note that to display the statistical data, you need to have scheduled the job SAP_COLLECTOR_FOR_PERFMONITOR.

Process Flow

You can intervene at various points in the data collection and storage:

 

Controlling and Monitoring the Generation of Statistics Data

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.

Note

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).

Displaying and Deleting Contents of the Workload Collector Database

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).

Displaying and Changing the Scheduling of Performance Collectors

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).

Displaying and Changing Profile Parameters for Statistics Records

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_files specifies 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