Determining the Space Overhead for a Join Index - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

The space overhead for the ROWID is 10 bytes for 2-byte partitioning and 16 bytes for 8-byte partitioning.

The following equation provides an estimate of the space overhead required for a row-compressed join index. Double the result if you define fallback on the index.

Row-compressed join index size = U × (F + O + (R × A))

where:

Symbol Description
F Length of the fixed column column_name.
R Length of a single repeating column column_name.
A Average number of repeated columns for a given value in column_1_name.
U Number of unique values in the specified column_1_name
O Row overhead.
Assume the following row overhead for a join index:
  • 12 bytes for an nonpartitioned join index
  • 14 bytes for a join index with 2-byte partitioning
  • 20 bytes for a join index with 8-byte partitioning