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.10
Published
July 2021
ft:locale
en-US
ft:lastEdition
2021-07-27
dita:mapPath
spp1591731285373.ditamap
dita:ditavalPath
spp1591731285373.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;