awrrpt.sqll生成awr报ORA-06502,ORA-06512

客户环境SumOS操作系统,数据库版本11.2.0.3,rac两节点;

在节点2,执行awr报告,输出报错,有时候可以成功,有时候失败。

报错现象

SQL>@?/rdbms/admin/awrrpt.sql

ORA-: PL/SQL: numeric or value error: character string buffer too small
ORA-: at "SYS.DBMS_WORKLOAD_REPOSITORY", line
ORA-: at line

MOS搜搜

Bug  : ORA- OCCURS WHEN TRYING TO GENERATE HTML AWR REPORT USING AWRRPT.SQL    

通过如下SQL可以还原报错信息:
select output from table(dbms_workload_repository.awr_report_html(1955022668,2,38439,38440,0 )); Case The AWR report can be generated without any errors when using the TXT format.

百度搜搜

有人匹配Mos,bug修改基表,由于是生产系统,非常不建议修改基表,建议1.使用txt临时生成awr报告;2.打psu相关补丁包
update WRH$_SQLTEXT set sql_text = SUBSTR(sql_text, , );
commit;
上一篇:论文阅读笔记六十三:DeNet: Scalable Real-time Object Detection with Directed Sparse Sampling(CVPR2017)


下一篇:Oracle442个应用场景-----------角色管理