INITIATE INDEX ANALYSIS | SQL Statements | VantageCloud Lake - INITIATE INDEX ANALYSIS - 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
This statement is only supported on the Block File System on the primary cluster. It is not available for the Object File System.

Analyzes a query workload and generates a set of recommended secondary and single-table join indexes for optimizing its processing.

INSERT EXPLAIN and INITIATE PARTITION ANALYSIS are supported only on the Block File System on the primary cluster, not the Object File System.

ANSI Compliance

INITIATE INDEX ANALYSIS is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

The privileges required to submit an INITIATE INDEX ANALYSIS request are the following:

Privilege Required Table Set in Database QCD_name
  • INSERT
  • SELECT
IndexRecommendations
INSERT
  • AnalysisStmts
  • IndexMaintenance
  • IndexColumns
  • JoinIndexColumns

If you specify a checkpoint trigger, you must have both INSERT and DELETE privileges on the AnalysisLog table in QCD_name.