ORA-13516 AWR Operation failed Interval Setting is ZERO
发布日期:2021-05-09 05:09:32 浏览次数:11 分类:博客文章

本文共 633 字,大约阅读时间需要 2 分钟。

1.1现象

有个DBA朋友遇到需要分析性能问题,发现DB没有AWR快照???

观察MMON进程正常,手工创建SNAP 报错

 

1.2 处理

参考

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 0Ensure 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并未检索到信息。

上一篇:getdef_shell
下一篇:数据库会话数量过多,定期清理inactive会话

发表评论

最新留言

路过,博主的博客真漂亮。。
[***.116.15.85]2025年03月25日 12时30分54秒