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.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.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.