AWR Generating & Setting
How to display AWR snapshot settings Oracle database is gathering statistics periodically (snapshots), these statistics can be used for analyzing database performance. These statistics are kept in the Automatic Workload Repository (AWR). Retention Interval: Amount of time to keep the snapshots. Snapshot Interval: How often to automatically take snapshots. SELECT 'Snapshot Interval' "Interval" , EXTRACT ( DAY FROM snap_interval ) days , EXTRACT ( HOUR FROM snap_interval ) hours , EXTRACT ( MINUTE FROM snap_interval ) minutes FROM dba_hist_wr_control UNION ALL SELECT 'Retention Interval' "Interval" , EXTRACT ( DAY FROM retention ) days , EXTRACT ( HOUR FROM retention ) hours , EXTRACT ( MINUTE FROM retention ) minutes FROM dba_hist_wr_contr...