Quantcast
Channel: Teradata Developer Exchange - Blog activity for carrie's blog
Viewing all articles
Browse latest Browse all 1058

Converting CPU Seconds, Old Node Type to New Node Type - comment by geethareddy

$
0
0

Hello Carrie,

Recently, I have noticed the CPUTime Column is not available on 14.10 ResUsageSPS table (which was there in 13.10 SPS Table). 
Please have a glance on my understanding is accurate or not on below aspects:

1) On 14.10, there is still CPUTime column available, but way to access that is via ResSPSView instead of ResusageSPS table.  
Second way is, they can simply sum up CPUUServ and CPUUExec columns to get the CPUTime. So every time, instead of summing up all the 6 columns related to the CPU utilization of AWT/Node/Dispatcher/Parser/..etc, they can use 2 columns for less complexity.

Because  CPUUServ =  (CPUUServAWT + CPUUServDisp + CPUUServMisc)  and
                   CPUUExec = (CPUUExecAWT + CPUUExecDisp + CPUUExecMisc))
2) Gap in 14.10:
Until 13.10 verison CPUTime column is defined as “Milliseconds of CPU time consumed by all tasks.” But as per 14.10 view on WISEPROD, sum of (CPUUExec+ CPUUServ) gives us CPUTime in Centi seconds. Because both columns are expressed in Centi econds.
So in order to be coherence with 13.10, the CPUTime column should have been represented as below to see the result in Milli seconds. Otherwise users will notice the difference. 

((CPUUServ + CPUUExec)/10) AS CpuTime”    instead of        (CPUUServ + CPUUExec) AS CpuTime

Note: 1centi sec=10 mill sec


Viewing all articles
Browse latest Browse all 1058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>