Unique Secondary Indexes and Performance - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549
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.