MonitorWDRate Function | Application Programming Reference | Teradata Vantage - 17.05 - MonitorWDRate - Teradata Database

Teradata Vantageā„¢ - Application Programming Reference

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1090-170K

Purpose

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

Definition

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

Result Rows

Column Name Description
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