标签:awr 问题 The 升级 not run his 现象 环境 class
有个DBA朋友遇到需要分析性能问题,发现DB没有AWR快照???
观察MMON进程正常,手工创建SNAP 报错
参考
https://community.oracle.com/tech/apps-infra/discussion/342662/manual-snapshot-failure
You cannot run a Manual Snapshot if the System Snapshot Interval is set to 0 Ensure you are loggoed in to the Database with user with SYSDBA privilege. Edit the Snapshot settings, view and correct the entry
for System Snapshot Interval
SQL>select * from dba_hist_wr_control;
确认是由于间隔时间0导致的问题,修改AWR间隔时间就可以了。
exec dbms_workload_repository.modify_snapshot_settings(interval=>60, retention=>30*24*30);
为什么间隔时间0,这套库之前的12C 升级至19C环境(可能内部自动调整后,升级后AWR快照并未自动调整回正常间隔)。 只能是猜测,MOS并未检索到信息。
ORA-13516 AWR Operation failed Interval Setting is ZERO
标签:awr 问题 The 升级 not run his 现象 环境 class
原文地址:https://www.cnblogs.com/lvcha001/p/13955323.html