15.10 - Example: Logging Requests by Summary Completion Time in Full Second Intervals - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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;