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.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™

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;