Rebuilding a Table Index

As data is modified in the underlying tables that the indexes operate on, the indexes become fragmented. Rebuild fragmented indexes on tables to improve performance.

Prerequisites
Database Version Table Index Privileges
SAP Sybase IQ 15.3 and 15.4 Requires one of:
  • DBA authority.
  • RESOURCE authority with REFERENCE permission on the underlying table of the index.
  • You own the underlying table of the index.
SAP Sybase IQ 16.0 Requires one of:
  • ALTER ANY INDEX system privilege.
  • ALTER ANY OBJECT system privilege.
  • REFERENCE permission on the underlying table of the index.
  • You own the underlying table of the index.
Task
  1. In the Perspective Resources view, select the resource and select Resource > Administration Console.
  2. In the left pane, select IQ Servers > Schema Objects > Tables.
  3. Select Tables or Global Temporary Tables.
  4. Select a table from the right pane and either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
    The Table Properties view appears.
  5. In the left pane, select Indexes.
    Note: Indexes does not appear for Proxy tables as they are not supported.
  6. Select one or more indexes from the right pane and click Rebuild.
    Note: Use Shift-click or Control-click to select multiple indexes.
    The Rebuild Indexes view appears when complete and indicates the rebuild status of each selected index.
  7. Click OK.
Related tasks
Authenticating a Login Account for a Managed Resource