Start of Content Area

Process documentation Configuring the Workload Monitor  Locate the document in its SAP Library structure

Purpose

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.

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 statistical data, you need to have scheduled the job SAP_COLLECTOR_FOR_PERFMONITOR (see Background Jobs to Be Scheduled Regularly).

Process Flow

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

 

This graphic is explained in the accompanying text

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 This graphic is explained in the accompanying text Collector & Performance DB This graphic is explained in the accompanying text Statistics Records and File This graphic is explained in the accompanying text 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 This graphic is explained in the accompanying text Collector & Performance DB This graphic is explained in the accompanying text Statistics Records & File This graphic is explained in the accompanying text Online Parameters. You require the online parameters for the following statistics, among others:

     Table Access Statistics

     Application Statistics

This graphic is explained in the accompanying text Workload Monitor start page

 

End of Content Area