Sequence of Events for an Index Analysis - Teradata Vantage - Analytics Database

SQL Data Manipulation Language

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
pon1628111750298.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
esx1472246586715
lifecycle
latest
Product Category
Teradata Vantageā„¢

The following process indicates the general phases of an index analysis:

  1. The analysis begins when an INITIATE INDEX ANALYSIS request is submitted.
  2. The database query analysis tool analyzes the submitted workload for indexing opportunities.
  3. The index recommendations are written to the IndexRecommendations, IndexColumns, and JoinIndexColumns tables of the specified QCD database.
  4. The recommendations are retrieved for evaluation using a set of SQL SELECT requests defined within a number of macros provided within each QCD.

    For example, the following SELECT request is the core of the Recommendations macro.

         SELECT TableName, DatabaseName, IndexTypeText, SpaceEstimate,             IndexDDL
         FROM IndexRecommendations
         WHERE WorkloadID = :WorkloadID;

    You can find a list of the index recommendation query macros in Teradata Vantageā„¢ - SQL Request and Transaction Processing, B035-1142.