17.05 - Example: Logging Requests by Summary Completion Time in Full Second Intervals - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

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;