In the Index Usage Analyzer window, when the Tables Analyzed is selected in the left pane, the following information is displayed in the right pane.
Provides a summary of the use of indexes for each table. It gives the total number of SQL that use the table and if the SQL statement accesses the table with a full table scan or uses an index to access the table.
Charts the number of SQL statements that use the table.
In the Index Usage Analyzer window, when a table is selected under the Tables Analyzed section is selected in the left pane, the following information is displayed in the right pane.
|
Pane |
Function |
Description |
|---|---|---|
|
Top |
Summary Information |
Displays a summary of the indexes in the table that are used or unused. |
|
Middle |
Index Used Information |
Displays the indexes used by the SQL statement. |
|
Bottom Left |
SQL Text |
Displays the text of the SQL statement. |
|
Bottom Right |
SQL Information |
Displays the access plan, SQL Classification, and the temporary table DDL for the selected SQL statement in the SQL Information pane. |
Lists the indexes and the key for all indexes in the table that are not used.
To save a list of all the unused indexes
Right-click and select Save.
In the Save Format window, select Text, HTML, or Excel Convertible (Spreadsheet).
To drop an index
Right-click the line with the index you want to drop and select Drop Index.
|
Tab |
Description |
|---|---|
|
Definition |
Displays when and where the table was created. |
|
Columns |
Displays the column information for the table. |
|
Index |
Displays the index information for the table. |
|
DDL |
Displays the DDL for creating the table and indexes. |
In the Index Usage Analyzer window, when the SQL Analyzed folder is selected in the left pane, the following information is displayed in the right pane.
Displays all the SQL statements and shows the tables and indexes used.
When a SQL statement is selected in the left pane, the following information is displayed in the right pane.
Displays general information about the analysis, information on the connection used to retrieve the access plans and the database settings at the time of the analysis.
Displays the access plan and the SQL Information pane.
Lists the table name, indexes and the key for all indexes used in the SQL statement.
To save a list of all the used indexes
Right-click and select Save.
In the Save Format window, select Text, HTML, or Excel Convertible (Spreadsheet).