TempBLCSpread - Analytics Database - Teradata Vantage

Database Utilities

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-05-02
dita:mapPath
ymn1628096214445.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
vkz1472241255652
lifecycle
latest
Product Category
Teradata Vantage™

Specifies the percentage above and below the TempBLCThresh setting at which data should be compressed or uncompressed if temperature-based block-level compression (TBBLC) is enabled. For example, if TempBLCThresh is COLD and TempBLCSpread is 5%, the data must be 5% colder than COLD to be compressed and 5% warmer than COLD to be uncompressed.

This setting can be used to prevent data that normally has a temperature close to the threshold from being repeatedly compressed and uncompressed.

Field Group

Compression

Valid Range

1 through 25 percent

Default

5%

Changes Take Effect

After the DBS Control Record has been written.

Usage Notes

Data temperatures refers to frequency of access:

  • Hot data is frequently accessed.
  • Cold data is infrequently accessed.
  • Warm data is accessed moderately frequently.

Data temperature is measured separately for each AMP at a cylinder level and is a relative measure because the temperature of cylinders can change even if the data it is not directly accessed. This is because it depends on how often other cylinders are accessed in comparison. TBBLC automatically compresses cold data to save storage space and decompresses Warm or Hot data if it was previously Cold (and thus compressed). At any time, different portions of a table, which are spread among many cylinders, may exist in different states of compression depending on their temperatures.

BLC enables data compression at the data block (DB) level of the file system. Compression reduces the amount of storage required for a given amount of data. The BlockLevelCompression field of DBS Control enables and disables BLC.

When changed, causes TBBLC to immediately start a new cycle.

Related Information

For more information on… See…
Block-Level Compression Teradata Vantage™ - Database Design, B035-1094.
BLOCKCOMPRESSION table attribute Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144.
Enabling TBBLC EnableTempBLC.
Ferret COMPRESS, UNCOMPRESS, and FORCE commands Ferret Utility (ferret).
Query bands for compression Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144.
Storage group of DBS Control fields Storage Group.