Creating Join Indexes

Join indexes are Sybase IQ internal structures that optimize joins of related tables.

Join indexes are created on sets of columns rather than individual columns. A join index represents a full outer join of two or more tables. The query engine may use this full outer join as a starting point for queries that include left outer, right outer, and inner joins. You can create a join index for any set of columns that your users commonly join to resolve queries. For guidelines, see the System Administration Guide: Volume 1 and Performance and Tuning Guide > Joining Tables.

Three important rules about creating join indexes:
Note: Some additional tasks are required for multiplex databases. Please see Using Sybase IQ Multiplex instead of this chapter if you need to create join indexes in a multiplex.