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
201 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 34

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

757 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

22 Experts available now in Live!

Get 1:1 Help Now