LZCOMP_L Usage Notes - 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

Uncompressed character data in Vantage requires one byte per character when storing Latin character data. LZCOMP_L compresses Latin character input using the Lempel-Ziv algorithm, and returns the compressed result.

LZCOMP_L provides good compression results for long Latin character strings and medium strings with multiple repeating characters, but may be less effective for short strings.

Although you can call the function directly, LZCOMP_L is typically used with algorithmic compression (ALC) to compress table columns. If LZCOMP_L is used with ALC, nulls are also compressed if those columns are nullable.