Use the Simulate Indexes function to create your own virtual index sets.
This function is part of Index Expert, an internal component that facilitates the management and testing of generated and user-defined virtual indexes in your SQL Optimizer session.
Click to open a SQL Optimizer session.
Enter the original SQL statement for which you feel performance improvement can be achieved with the addition of new indexes.
Tip: To move an SQL statement from anther tool—such as Scanned SQL Viewer, SQL Formatter, Database Explorer, or SQL Comparer—into SQL Optimizer, select the statement within the tool, and click . This features automatically run the Generate Indexes function described in the next step.
Click to open the Simulate Indexes window.
Note: If you have generated index sets (see step 3), these index sets are already listed in the Simulate Indexes window.
If no user-defined index exists, the Add Index window appears automatically. Otherwise, click on the right side of the Create Index here box.
Enter the index properties.
Select one of the three options:
Create a new Index Set for this indexto create the index and the index set to which the index belongs
Add to existing index set to create the index and add it to an existing user-defined index set
Not assign to any index set to add the index without adding it to any index set
Click OK to create the index and add it to the specified index set (in the top right pane).
Select the index you want to delete from the list in the top left pane (Create Index here).
Click .
Note: You can delete only those indexes not belonging to an index set.
Click in the top right pane (Create Index Set here).
Enter a name for the index set.
Click OK.
Select the index set from the list in the top right pane (Create Index Set here).
Click .
In the bottom pane of the Simulate Indexes window, add or remove indexes from the index set by double-clicking the appropriate cell.
To add the finalized virtual index sets to the list of alternatives in SQL Optimizer, click OK.
The index sets display as alternatives in the Run Time pane on the SQL Optimizer window. From here, you can compare the index sets with other index sets and SQL alternatives to determine the best-performing alternative.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center