TDWMSummaryRate Function | Application Programming Reference | Teradata Vantage - TDWMSummaryRate - Advanced SQL Engine - Teradata Database

Application Programming Reference

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
hvk1593628831140.ditamap
dita:ditavalPath
hvk1593628831140.ditaval
dita:id
B035-1090
lifecycle
previous
Product Category
Teradata Vantageā„¢

Returns the collection rate (the duration of the collection period in seconds).

Syntax

REPLACE FUNCTION TDWM.TDWMSummaryRate (
) RETURNS SMALLINT
  ...
;

Usage Notes

Use the SetSessionRate function to set the collection rate for updating session-level statistics within memory.

The TDWMSummaryRate function provides similar functionality to a TDWM Summary request. For more information about this interface, see TDWM SUMMARY.

Example: Using TDWMSummaryRate

SELECT TDWM.TDWMSummaryRate();
 *** Query completed. One row found. One column returned.
 *** Total elapsed time was 3 seconds.
TDWMSummaryRate()
-----------------
               60