Use the Index Advisor to apply any existing index advice when creating an index for a Sybase IQ table.
Be sure the data server for which you are creating an index is running, and you created and established a connection to the data server.
If you receive the message No Index Advices Found, you can invoke the Index Advisor from the New Index wizard by clicking Index Advisor. Use the No Index Advices Found wizard to enable the Index Advisor and to generate index advice items.
Option | Description |
---|---|
Clear Index Advice Storage | Clear the storage for the Index Advisor. This option appears only if the Index Advisor is already enabled. |
Index Advisor Option | Enable the Index Advisor, and choose either temporary or permanent (default). This option appears only if the Index Advisor has not been enabled. |
Maximum Number of Unique Advices | Set a temporary or permanent maximum, and specify a number in the corresponding text field. The default is 30. |
Input SQL to Generate Index Advices | Click SQL to open Visual SQL and construct a query. |
If the Index Advisor was invoked from a table in Enterprise Explorer, the Index Advisor displays advice items for the specified table. If the Index Advisor was invoked from a schema folder, the Index Advisor displays advice items for the entire schema.
You can clear the index advice by right-clicking the Indexes folder or an index, and selecting Clear Advisor.