ORA-00600: internal error code, arguments: [15160], [], [], [], [], [], [], []

aix5.3+10.2.0.2 RAC

昨天某一生产系统再次遭遇这个错误,但和以前的BUG不 太一样,

经过分析解决的方法也不太一样,

[@more@]

Bug 4648181 OERI [15160] possible from pushed predicates

This note gives a brief overview of bug 4648181.

Affects:

Product (Component)Oracle Server (Rdbms)
Range of versions believed to be affectedVersions < 11
Versions confirmed as being affected
  • 10.1.0.4
  • 10.1.0.5
  • 10.2.0.1
  • 10.2.0.2
Platforms affectedGeneric (all / most platforms affected)

It is believed to be a regression in default behaviour thus:
Regression introduced in 10.1.0.4

Fixed:

This issue is fixed in
  • 10.2.0.3 (Server Patch Set)
  • 11g (Future version)

Symptoms:

Related To:

  • Optimizer
  • _OPTIMIZER_PUSH_PRED_COST_BASED
  • _OPTIMIZER_COST_BASED_TRANSFORMATION

Description

This problem is introduced in 10.1.0.4.

Queries using pushed join predicates can fail with ORA-600 [15160].

eg:
  create table bug_test(c1 varchar2(10), c2 varchar2(10));

  select 1 from
   (select c1,null c2 from bug_test
    union all
    select c1,c2 from bug_test
   ) v1,
   (select c1,c2 from bug_test
    union all
    select c1,c2 from bug_test
   ) v2
   where v2.c1=v1.c1 and v2.c2=v1.c2
  ;


Workaround:
  Set _optimizer_cost_based_transformation = off
OR
  Set _optimizer_push_pred_cost_based = false


Bug 5172444 OERI[15160] on complex query with joinback elimination

This note gives a brief overview of bug 5172444.

Affects:

Product (Component)Oracle Server (Rdbms)
Range of versions believed to be affectedVersions < 11
Versions confirmed as being affected
  • 10.2.0.2
Platforms affectedGeneric (all / most platforms affected)

Fixed:

This issue is fixed in
  • 10.2.0.3 (Server Patch Set)
  • 11g (Future version)

Symptoms:

Related To:

  • Star Transformation
  • STAR_TRANSFORMATION_ENABLED

Description

ORA-600 [15160] errors are possible during optimization of queries using star
transformation if there are multiple single row tables, and joinback
elimination is possible.

An optimizer trace will show the order of single row tables at the
start of the join order has changed after joinback elimination.

Workaround:
  Set event 10162 level 1 to disable joinback elimination.

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

转载于:http://blog.itpub.net/7318139/viewspace-989217/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值