Inclusion Join | Join Planning/Optimization | Teradata Vantage - Inclusion Join - Analytics Database - Teradata Vantage

SQL Request and Transaction Processing

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
zfm1628111633230.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
evd1472255317510
lifecycle
latest
Product Category
Teradata Vantageā„¢

Definition of the Inclusion Join

An inclusion join is a product, merge, or hash join where the first right table row that matches the left row is joined.

Following are the types of inclusion join:
  • Inclusion merge join
  • Inclusion product join
  • Inclusion hash join

Also see Inclusion and Exclusion Product Joins with Dynamic Row Partition Elimination.

Inclusion Merge Join Process

  1. Read each row from the left table.
  2. Join each left table row with the first right table row having the same hash value.

Inclusion Product Join Process

  1. For each left table row read all right table rows from the beginning until one is found that can be joined with it.
  2. Return the left row if a matching right row is found for it.