Functionality The function module collects the data to be displayed on the initialscreen of transaction ST04 in mySAP ERP on IBM iseries:
- DATE and TIME of analysis: timestamp of current execution of this
function module
- structure DB_STATS comprises counts of executed SQL statements (such as
number of selects or inserts) and counts about how these statements wereexecuted (such as number of table scans or index creates performed).
- WAIT_STATS_DATE and WAIT_STATS_TIME; timestamp of wait statistic
analysis
- SUM_WAITS, SUM_WAIT_TIMES, WAIT_STATS_SUMMARY: wait statistic
information (summarized about all instances currently running) ascomputed by the function moduleDB4_GET_WAIT_STATISTICS>.
- WAIT_STAT_SUBRC: error code of function module
DB4_GET_WAIT_STATISTICS>.
- DBMON_HEADER_INFO: information about DB Monitor activity as shown in the
list header of ST04.Example An example on how to use this function module is found in RSDB400X (mainprogram for transaction ST04 for mySAP ERP on IBM iSeries). Notes The database statistics are computed from the mySAP ERP performancetables, this data is collected by the IBM iSeries OS/400 memory baseddatabase monitor. The wait statistics are cumputed in the function moduleDB4_GET_WAIT_STATISTICS>.
|