INITIATE INDEX ANALYSIS Examples | SQL Statements | Teradata Vantage - 17.05 - Example: Index Analysis - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1146-175K
Language
English (United States)

Assume that the QCD named MyQCD exists on the system. The following INITIATE INDEX ANALYSIS request performs successfully:

     INITIATE INDEX ANALYSIS ON table_1
     FOR MyWorkload
     IN MyQCD
     AS table_1Index;

If MyQCD does not exist in the system, the same request fails.

     INITIATE INDEX ANALYSIS ON table_1
     FROM MyWorkload
     IN MyQCD
     AS table_1Index;

     *** Failure 3802 Database 'MyQCD' does not exist.