Thanks Guy Przytula.
But the dynamic SQL snapshot doesn't have the UserID. Eventhough the application snapshot gives the UserID, Dynamic SQL shows a number of queries being executed, and where i could see the CPU time consumed by a single query also.
Number of executions = 1
Number of compilations = 1
Worst preparation time (ms) = 0
Best preparation time (ms) = 0
Internal rows deleted = 0
Internal rows inserted = 0
Rows read = 0
Internal rows updated = 0
Rows written = 0
Statement sorts = 0
Statement sort overflows = 0
Total sort time = 0
Buffer pool data logical reads = 0
Buffer pool data physical reads = 0
Buffer pool temporary data logical reads = 0
Buffer pool temporary data physical reads = 0
Buffer pool index logical reads = 0
Buffer pool index physical reads = 0
Buffer pool temporary index logical reads = 0
Buffer pool temporary index physical reads = 0
Total execution time (sec.ms) = 0.000000
Total user cpu time (sec.ms) = 0.000000
Total system cpu time (sec.ms) = 0.000000
Statement text = CALL REORGCHK_IX_STATS ('T', '"PSEPM "."PS_WFA_WKFRCE1_T7"')
The only thing that i could not find here is the USER ID under which the query is being executed. Please let me know if there is any other way to get the User ID info.
Thanks & regards,
Senthil.T