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

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)

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.