Access Planning for Column-Partitioned Objects | VantageCloud Lake - Access Planning for Column-Partitioned Objects - 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

Access planning for column partitions is driven by the single-table predicates and the projection list on a column-partitioned database object. The Optimizer groups the single-table predicates and the projection list for a table or join index by the column partitions that contain the referenced columns.

This process includes creating a list of conditions that can be evaluated on the same column partition or set of column partitions.

When there are single-table predicates and projection columns, predicate ordering takes precedence over projection analysis because evaluating predicates eliminates rows that project the required columns. When there are insufficient available column partition contexts for single-table predicates and projection columns, the Optimizer uses heuristics to determine whether to apply the predicates and merge the projection columns into a column partition merge spool or only to apply the predicates and output row IDs of the qualified rows to the column partition merge spool.