Example: Logging Requests by Summary Completion Time in Full Second Intervals - 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™

Log counts of the number of requests performed by user_1 into the following intervals set in DBQLSummaryTbl:

  • 0 - 1 second
  • 1 - 5 seconds
  • 5 - 10 seconds
  •   > 10 seconds
         BEGIN QUERY LOGGING LIMIT SUMMARY=1,5,10 ELAPSEDSEC ON user_1;