Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

0

好友

2

主题
1#
发表于 2012-12-4 11:28:35 | 查看: 7288| 回复: 6
数据库: oracle11g 3节点RAC.
报错信息:  ORA-00600: internal error code, arguments: [ktsscrsegfmt:objdchk_kcbnew_3], [0], [273070], [4],
报错语句:
insert /*+append*/ into a select /*+parallel(t,4)*/ * from if_t t;
if_t是个外部表,不知道昨天晚上程序为什么会报这个错误,而现在执行这个语句又对了。


生成的trace文件如下:
LIncident 12425 created, dump file: /oracle/app/oracle/diag/rdbms/musicdw/musicdw3/incident/incdir_12425/musicdw3_ora_10682664_i12425.trc
ORA-00600: internal error code, arguments: [ktsscrsegfmt:objdchk_kcbnew_3], [0], [273070], [4], [], [], [], [], [], [], [], []

qerpxFetch
        rwsrid:2 pxid:1 qbas:0:err:600
----- Explain Plan Dump -----
----- Compact Format (Stream) -----


Dumping stream from 0 to 150
----------------------------------

0000: 143 137  23   1   1   0  25   0   0   0   1   0   0   0   0  54   9   4   6   7    ...............6....
0020:  30  10 106 131 240 131 241 224 168  38 227  54 224 168  38 227 131 245 131 243    ..j......&.6..&.....
0040:   1 131 243   2   2   2   2   3   2   1   1   4   0   0 143   7   2   2  89   0    ..................Y.
0060:   0   0   0 143 193  32 100   3   3  88  89  14 224  40  63 143  14 192 127 232    ..... d..XY..(?.....
0080: 225  51  70  88 131 232   4   5   6   0   0 143 193  32   4   4   4  90  53  14    .3FX......... ...Z5.
0100: 224  40  63 143  14 192 127 232 225  51  70  88 131 232   3   0 143 193  38 116    .(?......3FX......&t
0120:   5   5  69  24  14 224  40  63 143  14 192 127 232 225  51  70  88 131 232   2    ..E...(?......3FX...
0140:   1   7   8 196 152 233   1   4  14 142                                            ..........
----- Plan Table -----

============
Plan Table
===========
2#
发表于 2012-12-4 14:51:04
请把 /oracle/app/oracle/diag/rdbms/musicdw/musicdw3/incident/incdir_12425/musicdw3_ora_10682664_i12425.trc 和 alert.log 以附件形式上传

回复 只看该作者 道具 举报

3#
发表于 2012-12-4 15:06:09
刘大,我发邮件给你了。

回复 只看该作者 道具 举报

4#
发表于 2012-12-4 15:22:38
今后不用发邮件了 直接上传附件

回复 只看该作者 道具 举报

5#
发表于 2012-12-4 23:15:39
wangzk0206 发表于 2012-12-4 15:06
刘大,我发邮件给你了。

11.2.0.3.0+  AIX 6.1 RAC

  1. *** 2012-12-04 03:01:38.098
  2. *** SESSION ID:(1435.6395) 2012-12-04 03:01:38.098
  3. *** CLIENT ID:() 2012-12-04 03:01:38.098
  4. *** SERVICE NAME:(musicdw) 2012-12-04 03:01:38.098
  5. *** MODULE NAME:(python@db1 (TNS V1-V3)) 2012-12-04 03:01:38.098
  6. *** ACTION NAME:() 2012-12-04 03:01:38.098

  7. Dump continued from file: /oracle/app/oracle/diag/rdbms/musicdw/musicdw3/trace/musicdw3_ora_10682664.trc
  8. ORA-00600: internal error code, arguments: [ktsscrsegfmt:objdchk_kcbnew_3], [0], [273070], [4], [], [], [], [], [], [], [], []

  9.     SO: 0x700000393d66780, type: 4, owner: 0x7000003990ee390, flag: INIT/-/-/0x00 if: 0x3 c: 0x3
  10.      proc=0x7000003990ee390, name=session, file=ksu.h LINE:12624 ID:, pg=0
  11.     (session) sid: 1435 ser: 6395 trans: 0x70000038526a838, creator: 0x7000003990ee390
  12.               flags: (0x8000045) USR/- flags_idl: (0x1) BSY/-/-/-/-/-
  13.               flags2: (0x40009) -/-/INC
  14.               DID: , short-term DID:
  15.               txn branch: 0x0
  16.               oct: 2, prv: 0, sql: 0x700000364fb9268, psql: 0x700000367db87d8, user: 89/SMELTER
  17.     ksuxds FALSE at location: 0
  18.     service name: musicdw
  19.     client details:
  20.       O/S info: user: etl, term: , ospid: 24772772
  21.       machine: db1 program: python@db1 (TNS V1-V3)
  22.       application name: python@db1 (TNS V1-V3), hash value=2797334376
  23.     Current Wait Stack:
  24.       Not in wait; last wait ended 1.989002 sec ago
  25.     Wait State:
  26.       fixed_waits=0 flags=0x21 boundary=0x0/-1
  27.     Session Wait History:
  28.         elapsed time of 1.989038 sec since last wait
  29.      0: waited for 'Disk file operations I/O'
  30.         FileOperation=0x5, fileno=0x0, filetype=0x3
  31.         wait_id=1135 seq_num=1231 snap_id=2
  32.         wait times: snap=0.000033 sec, exc=0.000498 sec, total=0.000787 sec
  33.         wait times: max=infinite
  34.         wait counts: calls=0 os=0
  35.         occurred after 0.000000 sec of elapsed time
  36.      1: waited for 'ASM file metadata operation'
  37.         msgop=0x12, locn=0x0, =0x0
  38.         wait_id=1136 seq_num=1230 snap_id=3
  39.         wait times: snap=0.000002 sec, exc=0.000006 sec, total=0.000289 sec
  40.         wait times: max=infinite
  41.         wait counts: calls=0 os=0
  42.         occurred after 0.000000 sec of elapsed time
  43.      2: waited for 'KSV master wait'
  44.         =0x0, =0x0, =0x0
  45.         wait_id=1138 seq_num=1229 snap_id=1
  46.         wait times: snap=0.000212 sec, exc=0.000212 sec, total=0.000212 sec
  47.         wait times: max=infinite
  48.         wait counts: calls=1 os=1
  49.         occurred after 0.000000 sec of elapsed time
  50.      3: waited for 'ASM file metadata operation'
  51.         msgop=0x12, locn=0x0, =0x0
  52.         wait_id=1136 seq_num=1228 snap_id=2
  53.         wait times: snap=0.000002 sec, exc=0.000004 sec, total=0.000075 sec
  54.         wait times: max=infinite


  55.      SO: 0x70000031e3fb0b8, type: 78, owner: 0x700000393d66780, flag: INIT/-/-/0x00 if: 0x3 c: 0x3
  56.        proc=0x7000003990ee390, name=LIBRARY OBJECT LOCK, file=kgl.h LINE:8548 ID:, pg=0

  57.       LibraryObjectLock:  Address=70000031e3fb0b8 Handle=700000364fb9268 Mode=N CanBeBrokenCount=1 Incarnation=1 ExecutionCount=1         
  58.         
  59.         User=700000393d66780 Session=700000393d66780 ReferenceCount=1 Flags=CNB/[0001] SavepointNum=50bcf710
  60.       LibraryHandle:  Address=700000364fb9268 Hash=46aee9cb LockMode=N PinMode=0 LoadLockMode=0 Status=VALD
  61.         ObjectName:  Name=insert /*+append*/ into musicdw.ODS_SEARCH_N_SST select /*+parallel(t,4)*/ * from IF_ODS_SEARCH_N_SST_1207   t
  62.           FullHashValue=808b4c289b6734cae065bc8546aee9cb Namespace=SQL AREA(00) Type=CURSOR(00) Identifier=1185868235 OwnerIdn=89
  63.         Statistics:  InvalidationCount=3 ExecutionCount=4 LoadCount=5 ActiveLocks=1 TotalLockCount=8 TotalPinCount=1
  64.         Counters:  BrokenCount=1 RevocablePointer=1 KeepDependency=1 BucketInUse=7 HandleInUse=7 HandleReferenceCount=0
  65.         Concurrency:  DependencyMutex=700000364fb9318(0, 97, 0, 0) Mutex=700000364fb9398(0, 915, 1, 0)
  66.         Flags=RON/PIN/TIM/PN0/DBN/[10012841]
  67.         WaitersLists:  
  68.           Lock=700000364fb92f8[700000364fb92f8,700000364fb92f8]
  69.           Pin=700000364fb92d8[700000364fb92d8,700000364fb92d8]
  70.           LoadLock=700000364fb9350[700000364fb9350,700000364fb9350]
  71.         Timestamp:  Current=11-30-2012 03:01:32
  72.         HandleReference:  Address=700000364fb9470 Handle=0 Flags=[00]
  73.         LibraryObject:  Address=7000003632592b0 HeapMask=0000-0001-0001-0000 Flags=EXS[0000] Flags2=[0000] PublicFlags=[0000]
  74.           ChildTable:  size='16'
  75.             Child:  id='0' Table=70000036325a160 Reference=700000363259bb0 Handle=700000364fb5480
  76.         NamespaceDump:  
  77.           Parent Cursor:  sql_id=f0tdwhp3axufb parent=700000363259350 maxchild=1 plk=y ppn=n   
复制代码
该session当时在运行 insert /*+append*/ into musicdw.ODS_SEARCH_N_SST select /*+parallel(t,4)*/ * from IF_ODS_SEARCH_N_SST_1207   t  并 出现 ORA-600  [ktsscrsegfmt:objdchk_kcbnew_3]

stack call 为

ktssctr_segment=> ktssctr_segment1=>ktsscrseg=>ktsscrsegfmt=>kcbnew=>dbgeEndDDEInvocation报错

回复 只看该作者 道具 举报

6#
发表于 2012-12-4 23:30:31
BUG 11936157 - ORA 600 [KTSSCRSEGFMT:OBJDCHK_KCBNEW_3] ON CREATE INDEX NOLOGGING

该BUG似乎只在 PARALLEL并行执行情况下触发 , 已知该BUG在11.2.0.2 上发生,11.2.0.3 认为已修复,但是你在11.2.0.3 上仍遇到。


方案:

1. LOG 一个SR 要求FIX


Workaround:

1.考虑降低并行度或者 不并行绕过该问题

回复 只看该作者 道具 举报

7#
发表于 2012-12-5 09:11:15
谢谢刘大回复

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-25 14:37 , Processed in 0.049655 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569