Comparison of Primary and Secondary Indexes - Teradata Vantage - Analytics Database

Database Introduction

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-09-27
dita:mapPath
gtm1628096154303.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dsm1472253642401
lifecycle
latest
Product Category
Teradata Vantageā„¢

The following table compares PI and SI features.

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