Overview - Advanced SQL Engine - Teradata Database

Database Design

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
qby1588121512748.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1094
lifecycle
previous
Product Category
Teradata Vantageā„¢
This section describes Teradata Database primary index (PI), primary AMP index (PA), and no primary index (NoPI) objects.
  • Primary indexed objects may be partitioned and the index may be unique or nonunique.

    The process of selecting a PI is given emphasis in this section. Other topics for primary indexes include unique versus nonunique, partitioned versus nonpartitioned, row distribution, primary index access to rows, various performance considerations, duplicate row checking, and space utilization.

  • Primary indexed objects must be column partitioned (with or without row partitioning). A PA is a nonunique index. Row distribution to AMPs and which AMPs to access for a PA are the same as for a PI. Accessing rows (or, more specifically, column partition values) on an AMP for a PA is the same as for a column-partitioned NoPI.
  • NoPI objects are tables and join indexes that neither have a primary index nor a primary AMP index. NoPI objects come in two forms.
    • Nonpartitioned NoPI objects
    • Column-partitioned NoPI objects (with or without row partitioning)

This section focuses on user tables, but the considerations for selecting a PI, PA, or NoPI for a table are largely identical to those for selecting a PI, PA, or NoPI for a join index. Any considerations specific to join indexes are documented in Join and Hash Indexes.