15.10 - Example: Logging Requests by Threshold Normalized CPU Times - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
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.