0 оценок0% нашли этот документ полезным (0 голосов)
21 просмотров1 страница
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.
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.
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.
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;