17.00 - Normalized Viewing of CPU Usage by AMP - Teradata Database

Teradata Vantage™ - Resource Usage Macros and Tables

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
User Guide
featnum
B035-1099-170K

Some users may prefer to view CPU usage by AMP in a normalized fashion. Conceptually, this restates each of the above statistics in terms of percentage of total CPU capacity of the node.

The following SQL example shows how to perform this normalization for the Total Busy % statistic.

SEL TheDate, TheTime, Vproc, NodeID,
(AmpTotalUserExec+AmpTotalUserServ)
/Secs/NCPUs
(FORMAT ‘zz9%’,TITLE ‘Total// Busy// %’)
FROM ResCpuUsageByAMPView
WHERE TheDate = CURRENT_DATE AND TheTime>080000
ORDER BY 1,2,3;