Example: Enable Table Logging and Set the Logging Rate Using DBW - Advanced SQL Engine - Teradata Database

Resource Usage Macros and Tables

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
dep1592878989156.ditamap
dita:ditavalPath
dep1592878989156.ditaval
dita:id
B035-1099
lifecycle
previous
Product Category
Teradata Vantageā„¢

The following example shows you how to enable table logging and set the Logging rate using the database commands in DBW. For example, to enable the ResUsageShst table and set the logging rate for 10 minutes (600 seconds), enter the following:

set logtable shst on
set resource log 600