No of times the SQL query executed
Hello,
I am using Oracle 11.1.0.7.0 2-node RAC on RHEL5.
I was checking Top SQL by Snapshots in Grid control (11.1.0.1.0) and found that one particular query has been executed 1 Billion times. This is a portal application, so when checked from from weblogic server it is confirmed that this query was fired only 40 times during the complete day.
I queried gv$sql to see the executions for the same SQL_ID it shows 279 times. But the Top SQL by Snapshots and AWR report (for one hour interval) shows as,
Executions : 2004299569
I dont have any additional details like if there were any blocking sessions as such during that interval.
0