After optimization, you may discover that the performance of the optimized SQL statements is still not satisfactory. To remedy this, first check that the searching quota has not been reached in the Optimization Details window. If it has, then you should increase the intelligence level or optimization options in the Preferences window and optimize again to ensure all transformed SQL statements are given. Review the query plan of the optimized SQL statement to check if there should be any alterations to the database structure, for example adding a new index.
Rerun the SQL statement optimization after the review.
Below is a list of available functions within the SQL Optimizer window.
These functions are available only in the SQL Editor.
Button or Menu | Function |
SQL Menu
|
|
SQL Menu
|
Optimize Using Abstract Plan/Abort Optimize Using Abstract Plan |
SQL Menu
|
|
SQL Menu |
|
File Menu |
These functions are available for both the SQL Editor and Optimized SQL.
Button or Menu | Function |
SQL Menu
|
|
SQL Menu
|
|
SQL Menu
|
|
SQL & Right-click Menu
|
|
SQL Menu |
|
Edit Menu
|
|
Edit Menu
|
|
File Menu |
|
Right-click Menu |
These functions are available only for the Optimized SQL.
Button or Menu | Function |
SQL Menu
|
|
SQL Menu
|
|
SQL Menu
|
|
SQL Menu
|
|
SQL Menu |
|
SQL Menu |
|
Navigate Menu
|
|
Navigate Menu |
|
Report Menu |
|
View Menu |
|
View Menu |
The SQL Optimizer window allows you to enter a SQL statement for optimization. The optimization process analyzes the original SQL statement entered in the SQL Editor pane and uses the built-in Feedback-Searching engine to reproduce a list of new, semantically equivalent SQL statements.
The SQL Optimizer supports only a single SELECT, SELECT INTO, DELETE, UPDATE, or INSERT SQL statement. To optimize SQL within Transact SQL, use the SQL Scanner module to identify potential problematic SQL statements within the Transact SQL code. Then optimize each SQL statement in the SQL Optimizer module.
The SQL Editor pane of the SQL Optimizer window is where you input your original SQL statement so that you can optimize it.
The top left pane is used to enter and display SQL statements. The SQL Editor tab allows you to enter the SQL statement you want to optimize. When a SQL statement is copied to this pane from other modules, the optimization process automatically begins.
After optimization, multiply tabs are added to display the optimized SQL statements.
The top right pane [SQL Information] displays SQL information according to the button you select from the button bar at the top of this pane. These buttons include: query plan, abstract plan, and Information (SQL classification and warning messages), All Records, and First Record. The SQL Information Pane provides detailed information about the SQL statement.
The Run Time information displays in three tabs in the bottom pane.
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center