Below is a list of available functions within the Index Advisor window.
Button or Menu |
Function |
Index Menu
|
|
Index Menu
|
|
Index Menu
|
|
Index Menu |
|
Index Menu
|
|
Index Menu
|
|
Index Menu
|
|
Index Menu
|
|
Index Menu
|
|
Index Menu |
|
Index Menu
|
|
Navigate Menu
|
|
Edit Menu
|
|
Edit Menu
|
|
View Menu |
|
View Menu |
After you generated Index candidates or created Index Sets for your original SQL statement in the Index Advisor window, you need to determine which indexes give you the best performance. The Batch Run function is used to retrieve the run time of the original SQL statement for different index candidates or set.
To setup and execute the Batch Run
Click .
The Create Indexes for Batch Run window displays. Select the segment where the index will be created and specify the number for the consumers. Click OK.
In the Batch Run Criteria window, select the Batch Run criteria from the following tabs and click OK.
The Batch Run dialog field displays the run time criteria and the current run time of the SQL statement for each Index Set as it is retrieved.
Note: The indexes are physically created on the database, the query plan is retrieved, and then the indexes are dropped. This process may affect other SQL statements executing on the database during this period.
To terminate the running of the SQL statement under the current Index set
Select SQL | Stop Current.
To terminate the Batch Run process
Click .
The Create Indexes for Batch Run window displays when you execute the Batch Run or Batch Show Plan function. It enables you to specify how you would like the indexes created:
Item |
Description |
Select the segment where you would like the index created from the drop-down list. | |
(Default 1 Range 1-20) |
Specify the number of consumer processes that should perform the sort operation for creating the index. The actual number of consumer processes used to sort the index may be smaller than the specified number, if fewer worker processes are available when Adaptive Server executes the sort. |
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center