ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORA-00600:: [kkocxj : pjpCtx]错误

ORA-00600:: [kkocxj : pjpCtx]错误

原创 Linux操作系统 作者:wei-xh 时间:2011-02-16 10:25:12 0 删除 编辑


ops$admin@CRMG>explain plan for
  2  select trunc(avg(in8_call_duration), 2) as in8_call_duration,
  3         trunc(avg(out8_call_duration), 2) as out8_call_duration,
  4         id,
  5         name
  6    from (select distinct a.agent_id,
  7                          nvl(a.in8_call_duration, 0) as in8_call_duration,
  8                          nvl(b.out8_call_duration, 0) as out8_call_duration,
  9                          aue.login_id,
 10                          ao.name,
 11                          ao.id
 12            from (select vcr.agent_id,
 13                         trunc(sum(call_duration) / 3600, 2) in8_call_duration
 14                    from vodka.vdk_call_record vcr
 15                   where vcr.is_deleted = 'n'
 16                     and DIRECTION = 'OUT'
 17                     and vcr.gmt_create >=
 18                         to_date(to_char(TRUNC(SYSDATE), 'yyyy-mm-dd') ||
 19                                 '08:30:00',
 20                                 'yyyy-mm-dd hh24;mi:ss')
 21                     and vcr.gmt_create <=
 22                         to_date(to_char(TRUNC(SYSDATE), 'yyyy-mm-dd') ||
 23                                 '18:00:00',
 24                                 'yyyy-mm-dd hh24;mi:ss')
 25                     and vcr.CALL_DURATION is not null
 26                   group by vcr.agent_id) a,
 27                 (select vcr.agent_id,
 28                         trunc(sum(call_duration) / 3600, 2) out8_call_duration
 29                    from vodka.vdk_call_record vcr
 30                   where vcr.is_deleted = 'n'
 31                     and DIRECTION = 'OUT'
 32                     and (vcr.gmt_create <
 33                         to_date(to_char(TRUNC(SYSDATE), 'yyyy-mm-dd') ||
 34                                  '08:30:00',
 35                                  'yyyy-mm-dd hh24;mi:ss') or
 36                         vcr.gmt_create >
 37                         to_date(to_char(TRUNC(SYSDATE), 'yyyy-mm-dd') ||
 38                                  '18:00:00',
 39                                  'yyyy-mm-dd hh24;mi:ss'))
 40                     and vcr.CALL_DURATION is not null
 41                   group by vcr.agent_id) b,
 42                 vodka.app_user_ext aue,
 43                 vodka.app_user_role_org auro,
 44                 vodka.app_org ao
 45           where a.agent_id = aue.value
 46             and aue.is_deleted = 'n'
 47             and aue.value is not null
 48             and aue.value <> '0'
 49             and aue.type = 'CC_AGENT'
 50             and aue.domain = 'nirvana'
 51             and aue.login_id = auro.login_id
 52             and ao.id = auro.org_id
 53             and auro.is_deleted = 'n'
 54             and ao.id in
 55                 (select id from vodka.app_org where parent_id = 100013358)
 56             and a.agent_id = b.agent_id(+))
 57   group by id, name;
               vodka.app_user_ext aue,
                     *
ERROR at line 42:
ORA-00600: internal error code, arguments: [kkocxj : pjpCtx], [], [], [], [], [], [], [], [], [], [], []

今天遇到这个错误。查阅文档后,这是11G的一个BUG。有如下解决办法:

该bug可以通过实施one off Patch 7014646修复,也可以尝试通过修改隐式参数_optimizer_push_pred_cost_based禁用基于成本的谓词前置特性(WORKAROUND: disable cost based push predicate)来规避该[KKOCXJ:PJPCTX]内部错误发生,具体的修改方法:

SQL> conn / as sysdba
SQL> alter system set "_optimizer_push_pred_cost_based"=false;
SQL> exit
/* 设置该隐式参数无需重启实例 */

Oracle GCS更推荐通过应用补丁7014646的方法来解决问题,而修改以上隐式参数则不一定百分之百能解决问题。

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

请登录后发表评论 登录
全部评论
Oracle ACE组成员,DBGeeK用户组发起人。曾在DTCC、ORACLE技术嘉年华、Gdevops等公开场合做过数据库技术专题分享,2017年应Oracle邀请在世界最大的数据库会议OOW上做技术分享。组织翻译了《拨云见日,解密Oracle ASM内核》一书。

注册时间:2009-07-04

  • 博文量
    422
  • 访问量
    2315251