Setting a Clustered Index

Set a clustered index on a system store (IQ catalog store) table. Using a clustered index increases the chance that two rows from adjacent index entries will appear on the same page in the database. This strategy can lead to performance benefits by reducing the number of times a table page needs to be read into the buffer pool.

Prerequisites
Database Version Table Privileges
SAP Sybase IQ 15.3 and 15.4 Requires one of:
  • DBA authority.
  • ALTER permission on the table.
  • You own the table.
SAP Sybase IQ 16.0 Requires one of:
  • ALTER ANY INDEX system privilege.
  • ALTER ANY OBJECT system privilege.
  • ALTER and REFERENCE permission on the table.
  • You own the table.
Task
  1. In the Perspective Resources view, select the resource and select Resource > Administration Console.
  2. In the Administration Console, expand IQ Servers > Schema Objects > Tables > Tables.
  3. Select a catalog store table from the right pane and either:
    • Click the arrow to the right of the name and select Set Clustered Index, or
    • From the Administration Console menu bar, select Resource > Set Clustered Index.
    The Set Clustered Index Wizard appears.
  4. Select an index in the list of indexes. Set the clustered index:
    Field Description
    Specify an index on this table to be clustered Select the check box to cluster the list of indexes. Any previously clustered indexes in the list will no longer be clustered. If you clear the check box, the currently clustered index will be unclustered.
  5. Click OK.
Related concepts
Table Columns
Table Permissions
Table Constraints
Table Indexes
Table Triggers
Table Partitions
Related tasks
Creating a Table
Creating a Global Temporary Table
Creating a Proxy Table
Viewing Table Data in the Execute SQL Window
Deleting a Table
Generating Table DDL Commands
Moving a Table to Another Dbspace
Validating a System Store Table
Setting the Primary Key
Merging Table Data from RLV Store with IQ Main Store
Calculating the Number of Rows in a Table
Moving Table Objects to Another Dbspace
Enabling or Disabling Row-Level Versioning in a Table
Viewing or Modifying Base Table Properties
Viewing or Modifying Global Temporary Table Properties
Viewing and Modifying Proxy Table Properties
Authenticating a Login Account for a Managed Resource
Related reference
Table Privilege Summary