Show TOC

Tutorial for the Central Performance History (Advanced)Locate this document in the navigation structure

Purpose

This tutorial is part of a three-part course that teaches you how to operate the Central Performance History (CPH) (see Tutorial for the Operation of the Central Performance History). In the second part, you learn

  • How to change an existing collection and reorganization schema
  • How to create your own assignments of collection and reorganization schemata to MTE classes
  • How to create your own report definitions

Tutorial Task

You want to store the most important performance values for SAP Memory Management in the CPH. The following MTE classes are contained in the Performance Overview Monitor of the SAP CCMS Monitor Templates monitor set for this topic:

  • R3RollUsed
  • R3MemMgmtEsAct
  • R3MemMgmtHeapAct
  • R3BufferProgramSwap

You require these values first with a resolution of quarter hours, and you are only interested in values for your local system. You are not interested in a long-term storage of the values in the CPH. Instead, you want to execute and store a report once a week. This report is to contain all of the information that you require for long-term archiving. You must create your own report definition to do this.

Process Flow

Creating a Collection and Reorganization Schema

To create your own collection and reorganization schema with which quarter hourly values are collected, stored for eight days, and are not aggregated, follow the procedure below:

  1. Start the administration transaction of the CPH by calling transaction RZ23N.
  2. The Central Performance History screen appears. In the Data Collection and Reorganization group box, choose Maintain Schema.
  3. The Display Collection and Reorganization Schema screen appears. On this screen, you can also create your own schemata based on existing schemata. Since you require a schema in which quarter-hourly values are collected, select the schema SAP_QTR_COLLECTION_WITH_AGGR_TO_DAY from the selection bar by double-clicking it (see Delivered Collection and Reorganization Schemata).
  4. Switch to change mode by choosing the Display/Change () button. You can now create your own schema by changing the storage periods for the individual aggregates. To do this, in the Selected Schema field, enter TUTORIAL_QTR_NO_AGGR as the desired name of the new schema.
  5. To change the storage periods of the individual aggregates, choose the Change Number () pushbutton next to the specification of the storage period. Change the storage period of the quarter hourly values to 8 days and the storage period of all other aggregates in the list to 0 (since no aggregation of the measured values is required).
  6. Save your entries and leave the screen by choosing Back ().

Assigning the Desired MTE Classes to the Collection and Reorganization Schema

Now assign the schema that you have just created to the desired MTE classes for memory management of the local system; to do this, follow the procedure below:

  1. You are on the Central Performance History screen. In the Data Collection and Reorganization group box, choose Assign Schema.
  2. The Assign Collection and Reorganization Schema screen appears. In the System ID subscreen, select your local system, and in the MTE Class subscreen, select the desired MTE classes:
    • R3RollUsed
    • R3MemMgmtEsAct
    • R3MemMgmtHeapAct
    • R3BufferProgramSwap
  3. In the Collection/Reorganization Schema subscreen, select the TUTORIAL_QTR_NO_AGGR schema and choose Assign Schema (); the assignments appear in the lowest subscreen. Exit the screen by choosing the Back pushbutton ().
    Note

    You can also perform the selection from a monitor of the Alert Monitor, by selecting the desired MTE classes with maintenance functions activated, and choosing the Collect MTE Class in the Central Performance History pushbutton (). A screen with all collection and reorganization schemata appears, on which you can select the desired schema (see Configuring the Central Performance History in the Alert Monitor).

Creating a Report Definition

The desired MTE classes are now collected in the CPH. However, to be able output the results, you require reports, which (adjusted to the storage duration) must run once a week. So that a report of this type can be executed, you must first create a corresponding report definition:

  1. You are on the Central Performance History screen. In the Reporting group box, choose Define Reports.
  2. The Report Definition screen appears. Choose Create Report Definition (), and enter TUTORIAL_REPDEF_MEMORY_MGMT as the name of the definition.
  3. The data is available with a quarter-hourly resolution. You should therefore choose Day Aggregate with a Quarter Hourly Resolution from the list in the Output Data Format field.
  4. The four MTE classes listed above are to be output in the report. So that these classes can be output in a clearly readable format in the report, you should create a separate group for each class. To do this, proceed as follows:
    1. Choose the Select from Assignment tab page, and choose the Assignments pushbutton (). A screen appears on which the valid assignments are displayed. You can see the assignment that you have just made on this screen. Select the row in which the MTE class R3RollUsed is assigned the schema TUTORIAL_QTR_NO_AGGR, and confirm your choice.
    2. The assignment now appears in the table. Since you want to display the details separately for each application server, leave Group Operation set to the entry Single Values, and leave Output Values set to Average Value.
    3. In the Group Name input field, enter a name for this group. The values are displayed under this column title in the report. In this case, enter the name of the MTE class R3RollUsed. However, you could also enter any other name of your choice.
    4. Add this group to the report definition by choosing the Insert pushbutton (ICON_INSERT_PUSHBUTTON). Delete the entry in the table on the right to create another group.

    Repeat this step for the three other MTE classes.

  5. Save your report definition.

Scheduling the Report

Plan the report in the same way as you did in the first tutorial (see Tutorial for the Central Performance History (Beginners)), however use the different values for the following parameters:

Parameter Value

Report Definition to Be Executed

TUTORIAL_REPDEF_MEMORY_MGMT

Time Interval of the Report
    Last

1 Week

Schedule Report
    First Execution
    Period of Background Processing

<Date of Next Monday>1 Week

Result

You have changed a collection and reorganization schema, and assigned this schema to individual MTE classes; you have also created a report definition to display the collected values and scheduled this as a regular report.

To learn how to work with day and calendar schemata, work through the third part of the tutorial.

Central Performance History of the Monitoring Architecture Start Page