修改awr保存时间和频率报错
[oracle@node3 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Feb 2 22:00:20 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> begin
dbms_workload_repository.modify_snapshot_settings (
interval => 30, --30分钟收集一次
retention => 7*24*60 --保存时间为7天
);end;
8 /
begin