Hi Experts,
Need help!
I was looking at ALVW_FLOW_STAT table and it contains execution statistics of all the transforms and data flows in a job. And ALVW_HISTORY contains execution statistics history at Job level. And when I am execute below two queries against underlying BODS repository, I get different results:
1.
SELECT
SERVICE, OBJECT_KEY, START_TIME, END_TIME, EXECUTION_TIME, STATUS, HAS_ERROR, IGNORE_ERROR
FROM ALVW_HISTORY
WHERE TO_DATE(START_TIME,'dd-mm-yy') <= (SYSDATE+1)
AND TO_DATE(START_TIME,'dd-mm-yy') >= (SYSDATE-30)
ORDER BY SERVICE, OBJECT_KEY
2.
SELECT job_name,job_key,sum(execution_time)
FROM ALVW_FLOW_STAT
WHERE JOB_KEY IN (SELECT
OBJECT_KEY
FROM ALVW_HISTORY
WHERE TO_DATE(START_TIME,'dd-mm-yy') <= (SYSDATE+1)
AND TO_DATE(START_TIME,'dd-mm-yy') >= (SYSDATE-30))
GROUP BY job_name,job_key
ORDER BY job_name,job_key;
Am I doing anything illogical here or the below is not true in that case:
Job Execution Time (in ALVW_HISTORY table) != Sum(Execution Time) for all components of that Job (in ALVW_FLOW_STAT) table
Please help.
Thanks,
Purnima