SQL> select BASELINE_TYPE,MOVING_WINDOW_SIZE from dba_hist_baseline; BASELINE_TYPE MOVING_WINDOW_SIZE ------------- ------------------ MOVING_WINDOW 8
SQL> execute dbms_workload_repository.modify_baseline_window_size(window_size=> 7); PL/SQL procedure successfully completed. SQL> select BASELINE_TYPE,MOVING_WINDOW_SIZE from dba_hist_baseline; BASELINE_TYPE MOVING_WINDOW_SIZE ------------- ------------------ MOVING_WINDOW 7
SQL> execute dbms_workload_repository.modify_snapshot_settings (interval => 30, retention => 10080); PL/SQL procedure successfully completed.