This document provides a SQL query to check the current Automatic Workload Repository (AWR) interval and retention settings. The query returns the AWR interval values in minutes for both the snapshot interval, which controls how often snapshots are taken, and the retention interval, which determines how long snapshots are kept before being overwritten.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
43 views
AWR Interval and Retention Settings
This document provides a SQL query to check the current Automatic Workload Repository (AWR) interval and retention settings. The query returns the AWR interval values in minutes for both the snapshot interval, which controls how often snapshots are taken, and the retention interval, which determines how long snapshots are kept before being overwritten.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
How to check AWR interval and retention Settings
AWR interval and retention Settings
The following query can be used to check the current settings for the AWR interval and AWR retention. The query returns the current AWR interval values in minutes. set pages 50000 lines 32767 col snap_interval format a20 col retention format a20 col topnsql format a20 select extract( day from snap_interval) *24*60+ extract( hour from snap_interval) *60+ extract( minute from snap_interval ) "Snapshot Interval", extract( day from retention) *24*60+ extract( hour from retention) *60+ extract( minute from retention ) "Retention Interval" from dba_hist_wr_control;