Skip to Content
-1

Finding out the worst performing programs with ST04

Hi,

We use ST04 to monitor the performance overhead in our production system. We want to prepare a list of the 10 most time consuming programs in the system on a daily basis. Now, when we execute ST04 we get each SQL statements with total DB execution time and the related program name.

But is there any way that we can get a list of programs executed in the last 24 hours along with total DB time consumed by each of them?

Thanks,

Sarif

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 28, 2017 at 08:47 AM

    Did you also look at ST03N (or a FM beyond it like SAPWL_STATREC_DIRECT_READ)

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 03, 2017 at 07:43 AM

    SQL Monitor is able to do that. Of course SQLM must have been activated for the time frame you are interested in.

    Then you can open transaction SQLM, choose "Display Data" and use the following criteria on the selection screen:

    • By Time Interval: You don't have to use the button "Select Time Series", you can also enter an individual time frame here
    • Aggregation: "By Request"
    • Order by: "Total DB Execution Time"
    • Maximum Number of Records: "10"

    In the resulting list check the columns "Request Type" and "Request Entry Point".

    Best regards,
    Armin

    Add comment
    10|10000 characters needed characters exceeded