Charts are available for all the statistics and run times. Three chart panes display the run time information.
To change the information in the chart
Click the Chart Title and select the following functionality:
A performance forecast based on the retrieved Estimated I/O Cost value. If the Performance Projection value is greater then one, then it is forecasted that the SQL alternative may give a better performance.
Charts the estimated I/0 cost from the SQL statement with the corresponding indexes.
Charts the following statistics for All Records or First Record after the run time is retrieved for a SQL statement using the Batch Run, Run for All Records, or Run for First Record.
Statistics | Description |
Elapsed Time | Charts the execution time (in clock time) that it takes the SQL statement to select all records or the first record. This figure may include time that Adaptive Server spent on processing other tasks or waiting for disk or network I/O to complete. |
Times of Improvement |
How many times faster the alternative SQL statement is compared to the original SQL. |
CPU Time |
Charts the execution time (in CPU time) that it takes the SQL statement to select all records or the first record. |
Actual I/O Cost |
Charts the Actual I/O Cost of executing the SQL statement from Adaptive Server. |
Elapsed Time + CPU Time |
Charts side by side the Elapsed Time and the CPU Time. |
Writes |
Charts the accumulative number of disks writes for the SQL statement run time statistics. |
Scan Count |
Charts the accumulative number of scans for the SQL statement from the run time statistics. |
Logical Read |
Charts the accumulative number of logical reads for the SQL statement from the run time statistics. |
Physical Read |
Charts the accumulative number of physical reads for the SQL statement from the run time statistics. |
Apf IOs used |
Charts the accumulative number of Apf IOs for the SQL statement from the run time statistics. |
Charts the following statistics.
Statistics |
Description |
All Records | Charts the Elapsed Time + CPU Time, Actual I/O Cost, and Times of Improvement for all records. |
First Records |
Charts the Elapsed Time + CPU Time, Actual I/O Cost, and Times of Improvement for the first record. |
All Records vs. First Record |
Charts the Elapsed Time for all records and the first record. |
All Records vs. First Record with Cost |
Charts the Estimated I/O Cost, the Elapsed Time + CPU Time (for all records), and Elapsed Time + CPU Time (for the first record). |
Print the chart.
Save the selected chart.
Hide the selected chart.
You can filter the SQL statements displayed on the Time tab and the Statistics tab of the SQL Optimizer window by any of the run time statistics after you have executed the SQL statements so that the run time statistics are displayed on the Time tab and the Statistics tab.
The current filter displays in the bottom left corner of the Time or Statistics pane.
To filter the SQL statements
Click the downward pointing arrow to the right of a column heading.
Select one of the following:
Item | Description |
All |
Displays all the SQL statements. |
Custom… |
Opens the Custom AutoFilter window where you can select the options for filtering the SQL statements based on specific values for the selected column. |
Blanks |
Select all the SQL statements which do not have a value in the selected column. |
NonBlanks |
Select all the SQL statements which do have a value in the selected column. |
Specific Value |
Select all SQL statements that have one specific value. |
You can repeat steps 1 and 2 to add as many filters as you would like.
To clear the filter
Click at the bottom-left corner of the Time or Statistics pane.
The Find SQL function is available in the SQL Optimizer window. This enables the location of SQL statements that contain a specified text string.
To find text in a SQL statement
Select SQL | Find SQL to open the Find SQL window.
Enter the text string to be found and click Find.
To continue searching for the same text, select SQL | Find Next SQL [Ctrl + F3].
The details of the SQL statements and run time results in the SQL Optimizer window can be generated into a report.
To generate the Optimized SQL report
Select Report | Optimized SQL to open the Optimized SQL Report Criteria window.
Select the components for the report.
Select All SQL or Select SQL and enter the specific SQL statement numbers.
Note: A few minutes may be needed to generate a long report.
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center