SQL Trace Execution
The SQL trace allows you to precisely analyze and track the database accesses that the database interface in the SAP system initiates. This makes the trace an effective tool for performance analysis. To start the SQL performance trace, enter transaction code ST05 or choose System → Utilities → Performance Trace.
SQL Trace List Analysis
There are slight differences in the trace list between the different database systems.
The columns in the expanded trace list have the following meanings:
The Display Execution Plan Function
From the main trace file, if you select a SQL statement from the trace list and choose the Display Execution Plan button, the execution plan for that statement will be displayed.
Note that this function is database-specific, and therefore the exact use, functions and presentation of the data vary widely between databases.
The following information can be obtained by using this option:
Identical SQL Statements
From within the trace list, to display an overview of how many identically structured SQL statements were performed for the various tables and/or views, choose Trace → Structure-identical Statements . Identically structured statements use the same access strategy, possibly with different values for the bind variables.
The list is sorted by total time required in microseconds.
The list contains the following information for each SQL statement: