Example: Logging Requests by Threshold Normalized CPU Times - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

This request produces detail logs for all user requests that use more than 0.10 seconds of normalized CPU time:

     BEGIN QUERY LOGGING LIMIT THRESHOLD=10 CPUTIMENORM ON ALL;

Requests that use less than 0.10 seconds of normalized CPU time are counted in DBQLSummaryTbl. The CPU times are normalized by weighting according to processor speed factors.