The Optimized SQL information displays in the SQL Optimizer window after performing the Optimize function:
The top left pane allows you to select the of semantically equivalent SQL statements produced after optimization from the tabs at the bottom of the pane. The arrangement of the SQL statements on these tabs from left to right is the SQL Editor, then the Original, followed by optimized SQL statements starting with Alt1, Alt2, etc. The optimized SQL statements are ranked according to increasing Estimated I/O cost.
Note: The lower the Estimated I/O cost the better the estimated performance of the SQL statement. However, the cost value should not be used as the actual indication of performance.
Auto indentation format
All alternative SQL statements are transformed into a more readable format by automatically indenting and aligning.
Text color
All parameters are in red (default color), indicating that a value and data type needs to be defined upon execution. Other highlights are according to parameters set for syntax highlights under the Preferences window.
Comments
Comments can be entered in the original SQL statement but are not included in the SQL alternatives.
The top right pane, the SQL Information pane, displays detailed information about the SQL statement.
The Run Time information displays in three tabs in the bottom pane:
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center