Doing an index what-if analysis
You can do an index what-if analysis for a single query or a workload tuning task.
Procedure
To do an index what-if analysis and generate recommendations:
- Create a tuning task on a single query or workload, with Recommend new indexes tuning option selected.
- When the tuning task is completed, go to Tuning > Tuning results page to view the result list.
- In the Tuning results page, select the tasks with the Result displaying as
Success and click View result. The Advisor recommendations page displays.
- Click Indexes from the Advisors menu. The Storage comparison chart, Performance comparison chart, and Index Recommendations table are displayed.
- From the Index Recommendations action bar, click Run what-if
analysis. The Configuration page displays.
- In the Configuration page, you can customize to remove recommended indexes, virtually drop existing indexes, and add new indexes.
- Click Run what-if analysis to launch the what-if analysis tuning task.
- When the tuning task is completed, go to Tuning > Tuning results page to view the result list.
- From the Tuning results page, click the name of the tuning task
to view the what-if analysis result. The Storage comparison and Performance comparison charts are displayed on the left side. These charts provide a comparison between the original cost and the after-change cost if the customized recommendation DDLs are applied. The Suggested change recommendation DDLs are displayed on the right side.Note: If you are doing an index what-if analysis for a single query, the what-if analysis results page displays the Access plan graph tab to view the revised access plan graph with the virtual indexes.