Database Administration (MOSC)

MOSC Banner

No of times the SQL query executed

edited Jul 7, 2011 6:27AM in Database Administration (MOSC) 3 commentsAnswered
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. 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center