The Refresh Plan Details window tells how many alternatives were refreshed and whether any of the alternatives were eliminated due to duplicate access plans or invalid SQL statements.
This window is only available after the saved access plans are replaced with the current access plans by clicking Refresh Plan on the Open Optimized SQL Details window.
Quest SQL Optimizer for IBM® DB2® LUWmaximizes SQL performance by automating the manual, time-intensive and uncertain process of ensuring that SQL statements are performing as fast as possible. SQL Optimizer analyzes, rewrites, and evaluates SQL statements within multiple database objects, files, or SQL statements captured by the DB2 Event Monitor. With SQL Optimizer, you can analyze and optimize all your problem SQL from multiple sources. SQL Optimizer also provides you a complete index optimization and plan change analysis solution, from index recommendations to simulated index impact analysis, through comparison of multiple SQL access plans.
SQL Optimizer provides you with the following main modules.
The SQL Formatter transforms a SQL statement into a more readable format by automatically indenting and aligning the text, keeping a consistent SQL layout throughout the source code, and hence making the SQL statement easier to understand and read. The SQL Formatter not only formats the SQL statement but also checks its syntax, and highlights variables, DB2 optimizer SQL options, and comments.
The SQL Formatter window is divided into two sections:
Provides an area for entering the SQL statement to be formatted.
Displays the formatted SQL statement. Host variables, SQL options and comments are color-coded for easy recognition.