
DavidH asked a question.
I'm wondering if anybody else has noticed this... the overall ExecutionTime value shown in tblJobLog doesn't seem correct, and doesn't match the LastJobDuration value shown in tblSystemInfo. The value in tblSystemInfo seems to be correct, but the ExecutionTime looks wrong:
I assume that everybody else sees the same difference? For us, it happens on both 9.21.1 and 9.22.1. It seems like tblSystemInfo is a better place to look if you're checking DUJ times in your database... And I suppose this also means that the ExecutionTime values in tblJobLogHistory are wrong as well?
David
Why don't you use tbljoblogmetrics for comparison?
This table do show the summary.
I normally use this statement, that then also do show me the jobid from tbljobloghistory in case I need to check the details of a job.
use SnowLicenseManager
select h.jobid as HistoryJobID, m.*
from tblJobLogMetrics m
left outer join (select jobid,actionstart from tblJobLogHistory where jobtype='job_run') h on m.StartTime=h.ActionStart
-- where m.jobdate >= '2022-05-30'
order by jobdate desc