Some Inline views may vary in execution time, which again may lead to scheduling challenges.
The following script will list Inline ordered by the execution time variance over the last 10 days.
NOTE: Remember to set the correct database name in [STACKNAME_XBI_MGMT_DEV]
SELECT max([TaskExecutionTime]) as maxExecTime
,min([TaskExecutionTime]) as minExecTime
,max([TaskExecutionTime]) - min([TaskExecutionTime]) as varExecTime
,count(*) as #runs
where ProcessCategory = 'Transformation'
and date between getdate()-10 and getdate()
group by [GroupName]
order by varExecTime desc
Please sign in to leave a comment.