Maximum Number of Indexes - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

Up to 32 secondary indexes can be defined for one CREATE INDEX statement. Also, up to 32 secondary, hash, and join indexes can be defined for one table. Each multicolumn NUSI created with an ORDER BY clause counts as two consecutive indexes in this calculation (see Why Consecutive Indexes Are Important For Value-Ordered NUSIs).

Permitting all secondary index operations for one table to be performed at the same time allows the action to be treated as a single transaction; that is, all of the indexes are created, or none of them are created. You can define up to 64 columns for each secondary index you create.

You can also create secondary indexes on user data base tables and join indexes as part of the CREATE TABLE and CREATE JOIN INDEX statements, respectively. See CREATE TABLE and CREATE JOIN INDEX for details.