BLOCKCOMPRESSION - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

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
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™

Use this option to set the block compression state of a join index.

The following table lists the available options for BLOCKCOMPRESSION.

Option Description
AUTOTEMP The compressed state of the data in the join index can be changed by Vantage at any time based on its temperature.

You can still issue query band options or Ferret commands, but if the compressed state of the data does not match its temperature, such changes might be undone by the system over time.

DEFAULT The definition of whether the join index uses the MANUAL, AUTOTEMP or NEVER compression options is determined by the DBS Control flag DefaultTableMode. For more information, see Teradata Vantage™ - Database Utilities, B035-1102.
MANUAL The compressed state of the data in the join index does not change unless you take specific action to do so using Ferret commands.
NEVER The join index is not compressed even if the DBS Control block compression settings indicate otherwise.

This means that Vantage rejects Ferret commands to manually compress the join index, but Ferret commands to decompress the index are valid.

See Teradata Vantage™ - Database Utilities, B035-1102 for information about how to use the Ferret utility.