17.10 - Example: Setting TVSTEMPERATURE Query Bands - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

This example sets TVSTEMPERATURE query bands to specify an initial temperature setting for subsets of table data.

The temperature for the primary table data blocks is set to HOT and the temperature for primary table compressible LOB data blocks is set to COLD.

     SET QUERY_BAND = ‘TVSTEMPERATURE_PRIMARY=HOT;
                       TVSTEMPERATURE_PRIMARYCLOBS=COLD;’ 
     FOR SESSION;