The SQL statements that you have filtered in the Statistic pane of the SQL Inspector window can be scanned in the SQL Scanner to classify the SQL statements to help identify which SQL statements are likely to be causing performance problems.
To scan the SQL statements currently showing in the Statistics pane
Right-click the Statistics pane and select Scan Filtered SQL.
If the SQL Scanner window is not opened then the Group Manager window opens so you can first select or create a group. Once you open the group, the scanning starts automatically.
In the SQL Inspector, when you have extracted the SQL statements from the monitoring tables, the SQL statements may have been executed in a stored procedure. You can tell whether or not the SQL statement was executed in a store procedure by looking at the SQL text. If the SQL statement was executed in a stored procedure, the whole procedure will be displayed as the SQL text.
You have the option to display the statistics for each SQL statement in a stored procedure individually or to display the statistics as a sum of the SQL statement executed in the entire procedure.
To toggle between display the statistics for each SQL statement or to sum all SQL statements in a stored procedure
Click Sum Statistics for a Stored Procedure .
When you are displaying the statistics for the individual SQL statements, the line number column will be shown in the statistics grid. This number indicates the line in the stored procedure where the text of the SQL statement begins. This column is not displayed when you are displaying the statistics for the entire procedure.
Below is a list of available functions within the SQL Inspector window.
Button or Menu | Function |
Schedule Menu
|
|
Inspector & Right-click Menu
|
|
Inspector & Right-click Menu
|
|
Inspector & Right-click Menu |
|
Inspector Menu |
|
File Menu
|
|
Right-click Menu |
|
Right-click Menu |
|
Right-click Menu |
|
Right-click Menu |
|
Right-click Menu |
|
Right-click Menu |
Save |
|
|
Refresh | |
|
|
|
|
|
|
Right-click Menu |
|
Right-click Menu |
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center