Usage Scenarios and Best Practices
Perhaps you are asking yourself what is the best strategy for analyzing the SQL Monitor data. In general, you might be guided by the following criteria:
Different views on results:
- System-oriented view - analysis of the entire system (for example: Which processes appear as especially expensive?)
- Request-oriented view - analysis focuses on single request entry points (for example: What does the SQL profile for a transaction XYZ look like?)
Selection of suitable performance indicators:
- Total number of DB executions of an SQL statement
- Total (DB) execution time for the SQL statement
- Total number of database records retrieved or modified by the SQL statement
The following list gives an overview of typical usage scenarios and best practices for analyzing SQL Monitor data:
Scenario 1: Get an Overview of Main SQL-driven Requests
Context
Steps recommended:
Procedure
Scenario 2 a: Identify the Most Expensive or Most Frequently Executed Database Accesses in
Context
Steps recommended:
Procedure
Scenario 2 b: Detect the SQL statements reading or writing most of the database data in the system
Context
Steps recommended:
Procedure
Scenario 3: Analyze individual requests for optimization
Context
Steps recommended:
Procedure
- In the selection screen of the SQL Monitor, specify the options for data analysis as follows:
- Choose .
- Remove the limit value from Maximal Number of Records. In this way, you get a complete list of requests that run SQL statements in the system.
- Sort the results by Total DB Records.
- On the first level of your result list, identify the requests with the highest total DB execution time. A high ratio Total DB time/Total time allows you to find requests that have potential for optimization.

