Solved

I have oracle 11g enterprise edition. My current server time stamp is 2:00 PM EST . When i run awrrpt.sql .The last snapshot time is showing as 11:00 AM EST .How can i correct awr setting so to gather

Posted on 2014-12-09
1
206 Views
Last Modified: 2015-02-18
I have oracle 11g enterprise edition. My current server time stamp is 2:00 PM EST . When i run awrrpt.sql .The last snapshot time is showing as 11:00 AM EST .How can i correct awr setting so to gather the report upto 1 hr before the current server time
0
Comment
Question by:gaurav kumar sinha
1 Comment
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 500 total points
ID: 40490002
The default snapshot interval in Oracle11 is 30 minutes.  So, someone has changed the snapshot interval in your database from the default value (possibly to reduce the amount of space consumed by the tables that hold this snapshot data).  
You can either initiate a snapshot manually at a particular time or you can change the interval to a shorter time period (but then be aware that you may need more space to accomodate this data).

To create a snapshot manually, run:
execute dbms_workload_repository.create_snapshot;

Or to change the interval and the retention period, you could use this command:

In this example the retention period is specified as 3 years (1,576,800 minutes) and the interval between each snapshot is 60 minutes.

execute dbms_workload_repository.modify_snapshot_settings (interval => 60, retention => 1576800);

(Thanks to Don Burleson for these tips.  See: http://www.dba-oracle.com/t_awr_automatic_snapshot_settings_modify.htm)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pfile and SPfile - Oracle 2 54
Pl/SQL Query 31 74
Oracle Public Synonyms and Privileges 2 51
MULTIPLE DATE QUERY 15 40
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
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…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now