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

Teradata Vantageā„¢ - Application Programming Reference

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1090-171K
Language
English (United States)

Returns the collection rate, number of nodes with at least one online AMP, and number of nodes with at least one online PE.

Syntax

REPLACE FUNCTION SYSLIB.MonitorWDRate (
) RETURNS TABLE (
    SampleRate SMALLINT,
    AMPNodes SMALLINT,
    PENodes SMALLINT
  )
  ...
;

Syntax Elements

SampleRate
Number of seconds of the collection period.
AMPNodes
Number of nodes with at least one online AMP.
PENodes
Number of nodes with at least one online PE.

Example: Using MonitorWDRate

SELECT * FROM TABLE (MonitorWDRate()) AS t2;
 *** Query completed. One row found. 3 columns returned.
 *** Total elapsed time was 1 second.
SampleRate     600  AMPNodes       1  PENodes       1