zoukankan      html  css  js  c++  java
  • ORA-13516 AWR Operation failed Interval Setting is ZERO

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

  • 相关阅读:
    mysql逻辑架构
    delete与truncate的区别
    mycat
    mycat
    MyCat数据库中间件
    mysql主从复制
    docker学习笔记之快速安装
    linux学习笔记之CentOS7系统快速安装
    Redis学习笔记
    双绞线的种类与型号
  • 原文地址:https://www.cnblogs.com/lvcha001/p/13955323.html
Copyright © 2011-2022 走看看