Bug 12340939 ORA-7445 [kglic0] can occur capturing cursor stats for V$SQLSTATS

今天有一台数据库基本上每半个小时hang一下,hang的时候产生core dump,最后差查了下是由于Bug 12340939  ORA-7445 [kglic0] can occur capturing cursor stats for V$SQLSTATS导致,生成snapshot的脚本会访问 V$SQLSTATS,hang的几秒钟数据库新连接会出问题

ORACLE:lgstby SQL> select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE    11.2.0.2.0      Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production

Bug 12340939  ORA-7445 [kglic0] can occur capturing cursor stats for V$SQLSTATS

Description

A core dump might be seen in kglic0() when the system is capturing

cursor stats for V$SQLSTATS.

 

Rediscovery Notes:

If:

  An intermittent ORA-7445 is seen in kglic0()

  and the stack has kksIterCursorStat() present

 then you might be seeing this issue.

 

Workaround

The code path that leads to the crash can be disabled by setting

 the hidden parameter "_cursor_stats_enabled"=FALSE. However this

 will disable information being maintained under the fixed view

 V$SQLSTATS. (Other fixed views can be used to capture most of

 the relevant information though).

This fix is included in 11.2.0.3 patch set

To fix this issue please plan do the following

1. Apply the patch 12340939
or
2. Apply the Patchset 11.2.0.3
or
3. Apply the 11.2.0.2.4 Patch Set Update where the bug is fixed.
or
4. workaround , add in pfile "_cursor_stats_enabled"=FALSE and restart database.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22503721/viewspace-734307/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22503721/viewspace-734307/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值