Primary Index and Primary AMP Index - Advanced SQL Engine - Teradata Database

Temporal Table Support

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
cjo1556732840654.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1182
lifecycle
previous
Product Category
Teradata Vantage™

Primary indexes for temporal tables must be non-unique (NUPIs).

Temporal columns, or the component columns of temporal derived period columns, cannot be included in primary indexes or primary AMP indexes.

If the CREATE TABLE statement for a nonpartitioned table does not specify either PRIMARY INDEX, PRIMARY AMP INDEX, or NOPI, automatic creation of a primary index is controlled by the setting of DBS Control field PrimaryIndexDefault. For more information see Teradata Vantage™ - Database Utilities , B035-1102 .

If the CREATE TABLE statement for a partitioned table does not specify either PRIMARY INDEX, PRIMARY AMP INDEX, or NO PRIMARY INDEX, the table will be created as a NoPI table.