How to find Expensive SQL Statements? How to solve?

Answer Posted / inder09

Using ST03N Choose the Standard Transaction Profile in
transaction ST03N and restrict the display to task type Dialog.
Sort the Average DB time (ms) column in descending order.
Transactions with high average DB request times might be
caused by expensive SQL statements.

Sort the Total Database Time column in ascending order. Then
Total this column. Transactions causing more than 5% of this
total database time are worth a closer look with respect to
tuning measures.

Sort the Total Response Time column in ascending order. Then
Total this column. Transactions causing more than 5% of this
total response time are worth a closer look with respect to
tuning measures.

Using the Database Monitor ST04
The quality of the database data buffer should be higher
than 90%.

Check the number of user calls compared to recursive calls.
There should be less recursive calls than user calls.

Check the Reads/User Call. If this value exceeds 30(blocks
read per user call) then this is a strong indicator for
expensive SQL statements

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of table t000?

864


Hi, Cansomeone please send the system refresh doc , it's very urgent for me. Thanks in advance.

2118


If you have a long-running Job, how do you analyse?

891


Have u applied patches what is the transaction code?

810


Explain how you can restrict multiple logins of user in sap? What are the thing you have to take care of while writing the id’s?

978


what is the difference between with core

1463


What is an interface in SAP?

976


What are the different user types in sap system that an admin can use while creating a new user?

841


How to do transport at OS level?

1595


what is your project architecture?

1829


how to do system refresh?not the client copy but the-standard-system-refresh.

1844


How you can restrict multiple logins of user in sap? What are the thing you have to take care of while writing the id’s?

984


How will u send mail after completion of backup?

1909


Explain the system log?

838


does the Tcode EWZ5 exist in ECC6?I'm using NW2004S SR2 abap engine and EWZ5 doesn't exist in that.so in that case what is the alternative to EWZ5?to see the list of users present in a client but not necessarily logged in and to to lock or unlock them? Thanks.

3670