[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Oracle Monitored SQL executions list history

Posted on 2014-08-11
2
Medium Priority
?
638 Views
Last Modified: 2014-08-19
Oracle 11gR2 OEM, when I check monitored SQL executions, it shows list only for 1 or 2 hours even when I select "ALL" or "24 HOURS" from the drop down list.  Please help me to see longer history in OEM.
0
Comment
Question by:partnershipit
  • 2
2 Comments
 
LVL 5

Expert Comment

by:Sanjeev Labh
ID: 40255279
The best area I would suggest would be to look at the sql history from the awr snapshot history. This will have the details of sql which are not available in the cursor cache too.
0
 
LVL 5

Accepted Solution

by:
Sanjeev Labh earned 1500 total points
ID: 40263061
You can refer the dba views dba_hist_sqlstat and dba_hist_snapshot for getting it. This will enable you to monitor the sqls by snap id of the awr snapshots enabling you to extract it from various time periods.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question