Finding query access frequency or how many times a query has been executed?

Dear 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

That's one of the stats reported by statspack - assuming that your query does sufficient work to meet the thresholds for the standard report. Executions is of course one of the columns of v$sql so you might just wish to sample that yourself. Finally if you are on 11g and the sql you are interested is relatively low resource intensive and you are licensed for AWR then you can use the slightly madly named "colored sql" feature that ensures that a specific statement will always be sampled for AWR.
Niall Litchfield
http://www.orawin.info/

Similar Messages

  • How many times a transaction has been executed

    Hi All,
    I have to make a list on how many times certain transactions have been exectued last year.
    Does any of you have a idea on how to get this list?
    tried already ST03 and STAT but without satisfying result
    We have R/3 4.6B.
    Regards,
    Rod.

    hi,
    use STAD transaction.

  • How to find how many times a program has been executed & by whom

    Can any one help me to find log of program : Details like how many times the program(T-Code) has been executed and by whom(User ID) and when

    Hi,
    sy-uname will give u the name of the person.
    sy-uzeit will give u the time of exection.
    Not sure about number of times of execution.
    <REMOVED BY MODERATOR>
    regards,
    Ramya
    Edited by: Alvaro Tejada Galindo on Mar 19, 2008 4:15 PM

  • How to find out how many times an album has been burned to cd

    how to find out how many times an album has been burned to cd

    You can't.
    and the restriction (lwhich limits burning a specific playlist to audio CD) applies only to a specific playlist with DRM songs.

  • How do you find out how many times an app has been downloade

    Wondering where I can find out how many times an app from the app store has been downloaded?

    Are you asking if you can find out how many times an app has been downloaded from the app store? Or you asking if you can find how many times you have downloaded the app? If the former, you could try asking the developer. If the latter, none that I know of.

  • How to keep track of how many times a link has been clicked?

    How to keep track of how many times a link has been clicked or accessed? Do I need to use database for this?

    Hi
    Proably something like this can work,
    1> Have a servlet/bean invoked when the link is linked
    2> have a static variable in that servlet/bean wich gets incremented before the control is passed to another desired page..
    The problem with this approach is that care has to be taken that the servlet/bean is not re-instalised, in case of which the static variable will also be instalised and the data would be lost.
    The best thing is to store the count in the database.
    Regards
    Arathi.

  • How many times a program has been run?

    Is there a transaction or table or something that tracks how many times a program has been run?   The number of times the program has been run plus using the programs' attributes for last changed would help me a lot.  We need this for an archiving study to determine of the client has set up the configuration correctly since they went live and have been executing the correct programs.  Thanks and mucho rewards if someone has an answer.  FYI - I have done a forum search and could find nothing on this topic.  I have looked at the tables TADIR and no help, as well as transaction STAT.

    I know ST03N transaction can be used extensively to determine how the programs were executed or even to know who all are using a particular transaction...
    I tried to find if we can find the number of executions of a program through this transaction, I could not find myself...
    try if you can find it through this tcode.
    Phani

  • HT4059 Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? Mr Ignorant

    Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? I need to persuade someone that this really is worthwhile. Mr Ignorant.

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • Cycle counting - How many times an item has been counted?

    Hallo Gurus,
    do you know if there's a way to know how many times an item has been counted during the year?
    Thank you very much indeed.
                Mick

    Hi Mick,
    Check the below links. Hope they will help you.
    http://help.sap.com/saphelp_snc70/helpdata/EN/4c/c1b4b55b912a4ae10000000a42189b/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/4d/2b8e3d43ad11d189410000e829fbbd/content.htm
    Regards,
    Shilpa

  • Counting how many times my app has been opened

    I want to be able to count how many times a user has opened my application, and so every time the application launches, this number is added by one.
    Does anyone know how I store a long-time variable like this that will still need to be available across different runs of the application? I imagine this value would be stored in the application's preference file in Library, but I don't know how to do this.
    Can any of you please lend me some advice/code to achieve this (I am using Objective-C)?
    Thanks in advance,
    Ricky.

    Hi.
    It has been a while - but I finally got around to slapping some code together. I have successfully created and retrieved the value from the preference file, but for some reason, adding 1 to my value each run is not working. It only adds by one after each BUILD. So I have to rebuild it every time I want it to increment. See my code below;
    [NSUserDefaults init];
    int numberOfTimes;
    numberOfTimes = [[NSUserDefaults standardUserDefaults] integerForKey:@"used"];
    numberOfTimes = numberOfTimes++; //It is that that is not working.
    [[NSUserDefaults standardUserDefaults] setInteger:numberOfTimes forKey:@"used"];
    NSLog (@"%d", [[NSUserDefaults standardUserDefaults] integerForKey:@"used"]);
    I can't seem to stop anything wrong, but then again it is late.
    Do any of you see any errors here?
    Thanks,
    Ricky.

  • Is it possible to see how many times a component has been used in our websites?

    Hi,
    we currently have 3 websites running and I don't know if a component we created is actually in use.
    Is there a way to find this out?
    Thanks,
    Giulio

    Hi kasq,
    thanks for your quick answer...I tried
    path=/apps/mywebsite/components/scrollable/html.jsp
    and the result was
    XPath query
    /jcr:root/apps/upc-cablecom-ch/components/scrollable/html.jsp//*
    Filtering predicates
    Results
    Number of hits: 1
    Time: 0.16 seconds
    /apps/mywebsite/components/scrollable/html.jsp/jcr:content  (html,  json)
    So how do I have to read it? I see 1 number of hits, that I assume it's how many times it's used from other files...but how do I actually see how many times it's used on all our pages?
    Sorry for this newbie question, but only now I'm getting deeper in CQ5
    Thanks,
    G

  • Statistics - To get how many time a report has been run

    Hi Gurus,
    I would like to know how many times each of the reports on the portal has been run. If I could get this by user id, that would be great.
    Do you know where I can get such information?
    Regards
    Mathew

    Hi Guys,
    This can not be done throug ST03/ST03N. For this you will have to either use the SAP delivered BI Statistics query which is built on 0TCT_M01 multiprovider. Make sure your data is upto date before you run the query.
    Disadvantage of teh SAP delivered query is, it will not give you result which is older than 24 hrs. So basically it gives you oppourtinity to analyze only last 24 hrs data. If you want to modify the query, you can copy the query and modify as per your requirement.
    Now coming to your question of finding how many times a report is run:
    Question is how many queries do you have in your report. If your report contains one query only, there is free char in the query called Frontend Session. Everytime your execute the query you will have a new Frontend session ID.
    So create a formula as counters for all values and set the exception aggregation based on Frontend session. This will give you the number of times each query executed. If you drill down by Users, you will get this numbers by users.
    - Danny.

  • How do I get to see the time and how many times some one has been on a certain website on history?

    I look in to show all history and I can see the history of websites but I want to see the time, date, and how many times been in the websites? How can I can get this information?

    I look in to show all history and I can see the history of websites but I want to see the time, date, and how many times been in the websites? How can I can get this information?

  • Is there an app for the ipad that lets you see how many times an app has been played?

    looking for an app to see hoe many times the appds han been played
    Sincerely,
    Jim

    I think I can refresh my question..
    is there an app that can give me a small database when a specific app has been launch /played?
    Jim

  • How can I see how many times my song has been downloaded?

    I have a couple of songs for sale on iTunes and wonder if it's selling at all. Can I check?

    Peter,
    Workspaces and groups can be confusing - apologies that it was not clear.
    Perhaps some background as to why I described it that way may help.
    BeehiveOnline relies on groups to be self-sufficient - if you are in one group your world of available participants is that group and that group alone. So if you want to create a new workspace and add users they can only be drawn from that group. - hence the workspaces within a group setup. However, if you are in multiple groups then the linkage gets broken as you could add members to a workspace from different groups - if you needed many group to share a repository of read-only info for instance. This is in wide use on BeehiveOnline. Read and Write access is more of a problem as if anyone updates a document or creates one their id will be attached to it and if they are in a group you as a workspace member cannot see it will cause confusion.
    So workspaces are only group restricted if there is only one group. If you have multiple groups you have more scope but have to exercise more care.
    Hope that explains it.
    Phil

Maybe you are looking for

  • Mail not coming in even though it's on the server

    A friend is having trouble receiving her emails. She's running 10.4.11 on an eMac. The last email she received was 5 days ago. She can send emails no problem. When we look at the server via Account Info we can see all her emails but they're not trans

  • Maintaing G/L accounts to plant

    Dear All, Can we maintatin one G/L account to one plant. If possible please tell me how ? where we have to maintain. Babu

  • Regarding quantity field...value in layout

    Hi All, my issue is here i am passing vbrp-fkimg value to layout.. the value in the field above is 100.000, but here in the layout it is coming as 100 and printing it. how the value of 100.000 become 100. any settings, configuaration are there which

  • Error message F5151 using RAPERB2000

    Hello! I've displayed error message F5151 using RAPERB2000. "Incorrect doc.no.: 4306000002. Select document number between 4307000001and4307999999". I don't know why.. the document to be posted is referred to 2007 fiscal year and the latest one is po

  • Help! Need two profiles on an external hard drive for two ipods

    Hi, The issue is that I have a very outdated labtop with limited storage space. Wanting to expand my music collection, I downloaded music. However, I soon ran out of hard drive space so I purchased a large external hard drive. To add to the complicat