Unique Secondary Indexes and Performance - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
Statistics play an important part in optimizing access when USIs define conditions for the following operations.
  • Joining tables
  • Satisfying WHERE predicates that specify comparisons, string matching, or complex conditionals
  • Satisfying LIKE expressions
  • Processing aggregates

Because of the additional overhead for index maintenance, USI values must not change frequently. When you change the value of a secondary index, Vantage must undertake the following maintenance operations.

  1. Delete secondary index references to the current value.
  2. Generate secondary index references to the new value.