Finding query access frequency or how many times a query has been executed?
720450Dec 28 2009 — edited Dec 28 2009Dear Experts
I need to find the total number of access frequency of individual queries that are requested by the users say at a particular time.
Say there are 20 distinct queries requested in the time difference of 3 hours. All of the 20 queries or some of the queries may be requested for more than 2/3 times at that time by other users. By the way say query Q1 is requested 5 times at that so its query access frequency or how many times this query is executed is 5.
From where and how can I can find this counting of query access frequency or how many times a query has been executed at particular time or a session?
Normally we know the there SQL history dynamic performance views or if it can be possible to query the Shared pool library cache for SQL area it may be possible to find the total number of execution time for a query. But how to find that if anyone knows, please help me about this.
Regards-
Engr. A.N.M. Bazlur Rashid
OCP DBA