Index Types Comparison

Choose the column index type appropriate to your task.

Index Type Comparison
Index Type Purpose
Compare (CMP) Index

Indexes relationship between any two distinct columns with identical data types, precision, and scale.

Containment (WD) Index

Stores words from a column string of CHAR, VARCHAR, or LONG VARCHAR data.

Date (DATE) and Datetime (DTTM) Indexes

Processes queries involving date or datetime quantities.

Fast Projection (FP) Index

Optimizes projections and enables certain kinds of search conditions to be evaluated. Assigned by default to any permanent table.

High_Group (HG) Index

Used for join columns with integer data types. Handles GROUP BY and equality operations efficiently. Recommended for columns with more than 1000 distinct values.

High_Non_Group (HNG) Index

Used for high-cardinality operations involving ranges or aggregates.

Low_Fast (LF) Index

Ideal for columns with under 1000 unique values, such as Yes/No, or number of dependents, or with SUM, AVG, and COUNT. Fastest index type in SAP Sybase IQ.

TEXT Index

Used for unstructured data analytics functionality, an SAP Sybase IQ licensed option.

Time (TIME) Index

Processes queries involving time quantities.