Index_Field - Analytics Database - Teradata Vantage

SQL Request and Transaction Processing

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
zfm1628111633230.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
evd1472255317510
lifecycle
latest
Product Category
Teradata Vantage™

Function of Index_Field

Captures all the index columns used in the query plan.

Index_Field Table Definition

The following CREATE TABLE request defines the Index_Field table:

CREATE TABLE Index_Field(
  RelationKey  INTEGER NOT NULL,
  IndexNum     INTEGER NOT NULL,
  FieldID      INTEGER NOT NULL)
PRIMARY INDEX PK_Relationkey_IdxNum(RelationKey, IndexNum)
UNIQUE INDEX USK_RelationKey_IdxNum_FieldID (RelationKey,
 IndexNum, FieldID);

Attribute Definitions for Index_Field

The following table defines the Index_Field table attributes:

Attribute Definition
RelationKey
  • Unique identifier for the relation in which the captured index columns are defined.
  • Partial NUPI for the table.
  • Partial USI for the table.
IndexNum
  • Unique identifier for the captured index.
  • Partial NUPI for the table.
  • Partial USI for the table.
FieldID
  • Unique column identifier within a specific table.
  • Partial USI for the table.