Tag Archives: AWR

抽取AWR信息遭遇ORA-39147错误

今天在使用awrextr.sql脚本导出AWR数据时碰到这个错误。 数据库版本为10.2.0.5 RAC for HP_UX,错误信息为: USING the dump file prefix: awrdat_15222_15448 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | The AWR EXTRACT dump file will be located | IN the following directory/file: | /orabak01/orabak | awrdat_15222_15448.dmp | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | *** AWR EXTRACT Started … Continue reading

Posted in ORACLE | Tagged , , , , , , , | Leave a comment

ORA-7445(dbgrmqmqpk_query_pick_key)错误

客户数据库上出现了ORA-7445[dbgrmqmqpk_query_pick_key]错误。 详细错误信息为: Sun Nov 13 00:20:24 2010 Exception [TYPE: SIGSEGV, Address NOT mapped TO object] [ADDR:0xB38F0000000049] [PC:0x100213D08, dbgrmqmqpk_query_pick_key()+0f88] Errors IN file /opt/diag/rdbms/orcl/orcl/trace/orcl_m001_272500.trc (incident=137962): ORA-07445: 出现异常错误: 核心转储 [dbgrmqmqpk_query_pick_key()+0f88] [SIGSEGV] [ADDR:0xB38F0000000049] [PC:0x100213D08] [Address NOT mapped TO object] [] Incident details IN: /opt/diag/rdbms/orcl/orcl/incident/incdir_137962/orcl_m001_272500_i137962.trc … Continue reading

Posted in BUG | Tagged , , , | Leave a comment

用存储过程封装awrrpt脚本(五)

做了一个存储过程,封装了awr的report的功能。 根据11.2.0.3的TYPE的变化,修改了定义,新增一个变量控制是否生成RAC的GLOBAL报告,默认不生成全局报告。将DBNAME输入改变为DBID,解决DBNAME同名问题。 用存储过程封装awrrpt脚本(一):http://yangtingkun.itpub.net/post/468/515180 用存储过程封装awrrpt脚本(二):http://yangtingkun.itpub.net/post/468/515229 用存储过程封装awrrpt脚本(三):http://yangtingkun.itpub.net/post/468/515271 用存储过程封装awrrpt脚本(四):http://yangtingkun.itpub.net/post/468/517487 修改后的过程如下: SQL> CREATE OR REPLACE PROCEDURE P_AWR_REPORT ( 2 P_BEGIN IN VARCHAR2, 3 P_END IN VARCHAR2, 4 P_DIR IN VARCHAR2, 5 P_DBID IN NUMBER DEFAULT NULL, 6 P_PERINTERVAL IN BOOLEAN DEFAULT FALSE, 7 P_GLOBAL … Continue reading

Posted in ORACLE | Tagged , , | Leave a comment

由于DBTIME时间太短导致AWR出现告警信息

一个客户的RAC环境的AWR,由于DB TIME时间太短,导致出现告警信息。 这是一个10.2.0.5 RAC for Linux X86环境,由于全部应用都连接到一个节点上,因此另一个节点出现这个告警。 在AWR报告中的正文开始之前的部分,有下面的告警信息: WARNING: Since the DB Time is less than one second, there was minimal foreground activity in the snapshot period. Some of the percentage values will be invalid. 虽然以前也碰到过节点很闲的情况,但是真没有碰到过负载这么轻的系统: Snap Id Snap Time … Continue reading

Posted in ORACLE | Tagged , , | Leave a comment