0
点赞
收藏
分享

微信扫一扫

ORA-00904

颜娘娘的碎碎念 2022-03-30 阅读 43

问题

收集AWR报错
在这里插入图片描述

原因&解决方案

授予相关权限

grant execute on DBMS_WORKLOAD_REPOSITORY to scott;

在这里插入图片描述

select snap_id, dbid, instance_number from dba_hist_snapshot;

在这里插入图片描述
TEXT

SELECT output FROM TABLE(DBMS_WORKLOAD_REPOSITORY.awr_report_text(3873792761,2,793,794));

HTML

SELECT output FROM TABLE(DBMS_WORKLOAD_REPOSITORY.awr_report_html(3873792761,2,793,794));

在这里插入图片描述

举报

相关推荐

0 条评论