17.10 - CompressSpoolDBs - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Utilities

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Publication ID
English (United States)

Specifies conditions under which data blocks (DBs) for spool and volatile tables will be compressed by default.

Compression is subject to the BlockLevelCompression field setting, and to the criteria specified by the MinPercentCompReduction and MinDBSectsToCompress DBS Control fields. DBs not meeting these minimum criteria will not be compressed.

Field Group


Valid Settings

Setting Description
ALWAYS The DBs of a new Spool table will be compressed.
NEVER The DBs of a new Spool table will not be compressed. The Ferret utility COMPRESS command will have no effect.
IFNOTCACHED The DBs of a new table will be compressed if they are not being cached.



Changes Take Effect

After the DBS Control Record has been written.

Usage Notes

BLC enables data compression at the data block (DB) level of the Teradata 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.

Spool includes Persistent Spool used for the Redrive feature.

Related Information

For more information on... See...
BlockLevelCompression field BlockLevelCompression.
COMPRESS and UNCOMPRESS commands Ferret Utility (ferret).