To view the Inspector properties
Right-click an Inspector and select Properties.
Review the following for additional information:
Item | Description |
Name |
Inspector name. |
Description |
Inspector description provided by user. |
Creation date time |
Date and time the Inspector was created. |
Repeat method |
The frequency that the SQL statements are retrieved from the Adaptive Server monitoring tables. |
Inspecting Approach |
Indicates whether the SQL was retrieved from the Monitoring Tables or the QP Metrics. |
Size |
Inspector data file size. |
Status |
Inspector status. |
Version |
Version number for the program. |
No. of SQL |
Number of SQL retrieved. |
Data directory |
The directory where the Inspector files are kept. |
To place or remove a bookmark on the SQL Inspector window:
Mark an Inspector by clicking the Inspector row.
Right-click and select Add/Remove Bookmark.
Multiple bookmarks can be placed in the SQL Inspector window.
All the SQL statements can be saved in a text file from the SQL Scanner, the SQL Repository, the SQL Inspector, and the SQL Optimizer windows. These SQL statements can then be imported into Benchmark Factory 4.6 or later.
To create a file to import into Benchmark Factory
Right-click and select Create Benchmark Factory Import File.
Select the specific SQL statements that you want to save.
Enter the filename and select the file location.
When you first select an Inspector in the SQL Inspector window, one chart group showing the CPU time displays in the top pane with the following:
Select the statistic to display on the chart from the drop-down field.
These two sliders work in conjunction with each other. If you select the number of SQL statements and Transact-SQL using the No. of Top Consumption SQLs slider, the Percentage of Total Consumption slider is adjusted to show the percentage of the SQL statements that correspond to the number of selected SQL.
If you select the Percentage of Total Consumption, the corresponding number of SQL is shown in the No. of Top Consumption SQL's slider.
The SQL statements and Transact-SQL that are shown in the statistics pane are determined by the statistics that is selected for each chart and by the selection of the AND or OR criteria for joining the SQL statements based on the selected statistics.
Multiple charts are used to narrow or increase the number of SQL statements and statistics that can be viewed.
To add another chart
Click .
Select the statistic from the field at the top of the chart.
Adjust the No. of Top Consumption SQLs or Percentage slider.
Two options are provided at the left of the window for toggling the filtering criteria for displaying SQL statements and Transact-SQL.
The SQL statements can be selected for display using the AND operator to require that all SQL statements must be in the No. of Top Consumption SQLs for each charted performance statistic.
To select only those SQL statements in all charts
Click .
The SQL statements are selected for display using the OR operator to allow any SQL statement in the No. of Top Consumption SQLs for each charted performance statistic.
To select all SQL statements from all charts
Click .
Click the performance statistics line in the Statistics pane to view the SQL text for those statistics.
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center