Index_Field - 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

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.