Secondary Indexes - Advanced SQL Engine - Teradata Database

Database Introduction

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
jiv1600056352873.ditamap
dita:ditavalPath
jiv1600056352873.ditaval
dita:id
B035-1091
lifecycle
previous
Product Category
Teradata Vantageā„¢

Secondary Indexes (SIs) allow access to information in a table by alternate paths, and can improve performance by avoiding full table scans.

Although SIs add to table overhead, in terms of disk space and maintenance, you can drop and recreate SIs as needed.

SIs:

  • Do not affect the distribution of rows across AMPs.
  • Can be unique or nonunique.
  • Can be created for complex data types, such as geospatial data.
  • Are used by the Optimizer when the indexes can improve query performance.
  • Can be useful for NoPI tables.