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
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

732 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