BLOCKCOMPRESSION - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
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 Teradata Database 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 Teradata Database 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.