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
211 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Character matching different date formats for dates between 6 59
Component is listed with a Protocol more than once 3 42
Help on model clause 5 37
Fill Null values 5 28
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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 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.

856 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