In the Index Impact Analyzer window, when a SQL statement is selected in the left pane, the following information displays in the right pane.
Displays general information about the analysis, information on the connection used to retrieve the query plans and the database settings at the time of the analysis.
Displays the SQL statement selected, as well as, two SQL Information panes that show the query plans for the statement before and after the index Scenario is in place. In the query plan, the operations that are different between the two plans are highlighted in green.
The abstract plan for a SQL statement can be saved from this pane. In order to save the abstract plan, it must be retrieved when the SQL was selected to be analyzed. This is done from the Abstract Plan page of the New Analysis wizard.
Select the SQL statement in the left pane.
Click SQL Information section of the right pane. This enables the Save Abstract Plan button.
In the Save to group field, select the abstract plan group.
Click Save.
To create an Index Impact Analyzer
Click to open the Index Impact Analyzer window.
If no analysis exists in the Index Impact Analyzer then the New Analysis wizard displays automatically. Otherwise, click to open the New Analysis wizard.
The New Analysis wizard the following pages to select the options for creating an analysis.
Name the Analyzer, select the SQL statements for analysis, and specify the DDL for the proposed indexes in the New Analysis window.
Note: The indexes are physically created and then dropped after the query plans are obtained. This may affect other SQL statements executing on the database during this period.
In the New Analysis wizard, the Analyzer page is used to name the analysis and to select the folder where the Analyzer information will be stored.
Select this option to create a new analysis using a different set of SQL statements.
Select this option to use the same set of SQL statements that is stored in an existing Analyzer. This option adds another Scenario under an existing Analyzer and does not retrieve a new set of query plans for the SQL statements. It uses the query plans that were originally saved with the SQL statements.
Specific to leaves the new indexes that you create under the Index tab after the analysis is finished. Otherwise, these changes are dropped at the end of the analysis processing. After the analysis is complete, the Create/Drop Indexes button displays at the top of the Index Impact Analyzer window which displays the Create Indexes, Drop Indexes, and the Drop All Indexes panes. These panes contain the scripts to create or drop the indexes.
Item | Description |
Name |
Enter the name for the analysis. |
Description |
Enter the description for the analysis. |
Last modified |
Displays the last modified date and time. |
Save location |
Displays the folder in the tree where the Analyzer is saved. |
Folder Tree |
In the bottom pane, select the folder where you want to save the Analyzer. |
|
To create a new folder, click Add Folder. |
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center