Use EXPLAIN to Analyze the Usefulness of Secondary Indexes - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

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

Before a request is processed, the Optimizer estimates comparative costs to determine whether the use of a secondary index offers savings or is plausible. If not, it uses a different access method. You should test the performance of a secondary index before implementing it.

Use the SQL EXPLAIN request modifier to generate a description of the processing sequence to help determine whether a secondary index should be retained. See Teradata Vantage™ - SQL Data Manipulation Language, B035-1146.