General Procedure for Defining a Single-Table Join Index - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
  1. Define a column_1_name for each column_name in the primary base table to be included in the single-table join index.
  2. To enhance join selectivity, define the primary index on a different column set than the primary base table, or define column partitioning.
  3. If the physical database design warrants, use:
    • CREATE INDEX to create one or more NUSIs on the join index
    • A WHERE clause to define a sparse join index
    • A unique primary index for the join index