Moving a Table Index

Move an index from the current dbspace to another dbspace. This action is only applicable to tables in the IQ store (main store).

Prerequisites
Database Version Table Index Privileges
SAP Sybase IQ 15.3 and 15.4 You must have one of:
  • DBA authority
  • SPACE ADMIN authority
  • CREATE permission on the target dbspace, along with one of:
    • You own the underlying table
    • You have REFERENCE permission on the underlying table
SAP Sybase IQ 16.0 You must have one of:
  • ALTER ANY INDEX system privilege
  • ALTER ANY OBJECT system privilege
  • MANAGE ANY DBSPACE system privilege
  • You own the underlying table of the index
  • REFERENCE permission on the table along with one of:
    • CREATE ANY OBJECT system privilege
    • CREATE permission on the target dbspace
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Schema Objects > Tables, and then select Tables, Global Temporary Tables, or Proxy Tables.
  3. 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.
  4. In the left pane, select Indexes.
    Note: Indexes does not appear for Proxy tables as they are not supported.
  5. Select an index from the right pane and click Move.
    Note: Move does not appear when the underlying table is an IQ system store table.
  6. In the Move Objects Dialog view, select the new dbspace and click OK.
    The index is moved, but is not saved to the database.
  7. Do one of:
    • Click OK to update any changes to the database and exit the properties view.
    • Click Apply to update any changes to the database, but remain in the properties view.
    • Click Cancel to cancel any changes not updated to the database and exit the properties view.
Related tasks
Creating an Index on an IQ System Store Table
Creating an Index on an IQ Store Table
Deleting a Table Index
Rebuilding a Table Index
Validating a Table Index
Generating Table Index DDL Commands
Viewing or Modifying Table Index Properties
Authenticating a Login Account for a Managed Resource
Related reference
Column Index Types
Table Index Privilege Summary