ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Bug 12340939 ORA-7445 [kglic0] can occur capturing cursor stats for V$SQLSTATS

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

原创 Linux操作系统 作者:feiyuzitong 时间:2012-07-02 11:11:18 0 删除 编辑
今天有一台数据库基本上每半个小时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/,如需转载,请注明出处,否则将追究法律责任。

下一篇: “可爱的”闰秒
请登录后发表评论 登录
全部评论

注册时间:2010-04-19

  • 博文量
    20
  • 访问量
    70065