1.獲取AWR默認采樣間隔時間 參考文章《【AWR】調(diào)整AWR數(shù)據(jù)采樣時間間隔及歷史快照保留時間》(http://space.itpub.net/519536/viewspace-668410)。 sys@ora10g> col SNAP_INTERVAL for a20 sys@ora10g> col RETENTION for a20 sys@ora10g> select * from dba_hist_wr_control;
6.測試結果及結論 sys@ora10g> col BEGIN_INTERVAL_TIME for a30 sys@ora10g> col END_INTERVAL_TIME for a30 sys@ora10g> select SNAP_ID,BEGIN_INTERVAL_TIME,END_INTERVAL_TIME from dba_hist_snapshot order by 3;