Join Indexes and Base Tables - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
In most respects, a join index is similar to a base table. For example, you can do the following things to a join index:
  • Create nonunique secondary indexes on its columns.
  • Create a unique primary index on its columns, if the index is a non-compressed and nonvalue-ordered single-table join index.
  • Run COLLECT STATISTICS, DROP STATISTICS, HELP, and SHOW statements.
  • Partition its primary index, if the index is a noncompressed join index.
Unlike base tables, you cannot do the following things with join indexes:
  • Query or update join index rows explicitly.
  • Store and maintain arbitrary query results such as expressions.
    You can maintain aggregates or sparse indexes if you define the join index to do so.