Primary Index Defaults - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-006K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
ohi1683672393549

Explicitly specify a primary index, a primary AMP index, or explicitly specify no primary index for your tables. The default may not be appropriate for the object.

Vantage never creates a partitioned PI or NoPI by default and never creates a PA by default.

Problematic Selection of a Primary [AMP] Index Column Set

When the selection of a PI or PA column set is problematic, consider either of the following possible solutions.
  • Specify NO PRIMARY INDEX when you create the table.

    You can load rows into a NoPI table while you continue to determine an appropriate PI or PA. Such a table is called a sandbox or staging table.

  • Use an identity column as the PI for the table.
    Identity column is supported on both the Block File System and Object File System. However, you can only run queries related to an identity column table on the primary cluster.