Comparison of Primary and Secondary Indexes - Advanced SQL Engine - Teradata Database

Database Introduction

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
qia1556235689628.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1091
lifecycle
previous
Product Category
Teradata Vantageā„¢

The following table provides a brief comparison of PI and SI features.

Feature Primary Secondary
Can be unique or nonunique Both Both
Affects row distribution Yes No
Create and drop dynamically No Yes
Improves access Yes Yes
Create using multiple data types Yes Yes
Requires separate physical structure No Yes, a subtable
Requires extra processing overhead No Yes