Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 22 Dec 2015 @ 10:48:13 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: CPU & IO by workload
From:   Pirri, Antonio

Hi Martin, I think you can use this Query for example:

     SELECT T2.RuleName
                  , T1.WDID
                 , (T1.FirstRespTime - T1.StartTime HOUR TO SECOND) Response
                 ,cast(collectTimeStamp as date)
                 ,SUM(AMPCPUTime                    )
             FROM dbc.DBQLogTbl T1
                , TDWM.RuleDefs T2
             WHERE T1.WDID = T2.RuleId
             RuleName =  '%'
             and cast(collectTimeStamp as date) between date-45  and date
             group by 1,2,3,4,5


Antonio Pirri
Professional Services Consultant

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 24 Jul 2020