客户一个11.2.0.1的库由于断电导致启动的时候报ORA-600 kcratr_nab_less_than_odr错误
Wed Aug 06 15:55:07 2025ALTER DATABASE OPENBeginning crash recovery of 1 threads parallel recovery started with 27 processesStarted redo scanCompleted redo scan read 11787 KB redo, 4129 data blocks need recoveryErrors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_3520.trc (incident=2624321):ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [111988], [42537], [43285], [], [], [], [], [], [], []Incident details in: d:\app\xff\diag\rdbms\primary\orcl\incident\incdir_2624321\orcl_ora_3520_i2624321.trcAborting crash recovery due to error 600Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_3520.trc:ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [111988], [42537], [43285], [], [], [], [], [], [], []Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_3520.trc:ORA-00600: 内部错误代码, 参数: [kcratr_nab_less_than_odr], [1], [111988], [42537], [43285], [], [], [], [], [], [], []ORA-600 signalled during: ALTER DATABASE OPEN... |
类似的ORA-600 kcratr_nab_less_than_odr故障处理不少,但是应用redo完成之后,再open报错的不多:
12c启动报kcratr_nab_less_than_odr
又一例ORA-600 kcratr_nab_less_than_odr
ORA-600 kcratr_nab_less_than_odr故障解决
差点被误操作的ORA-600 kcratr_nab_less_than_odr故障
11.2.0.4库中遇到ORA-600 kcratr_nab_less_than_odr报错
但是这个客户比较不幸,经过一系列尝试打开数据库,但是报ORA-600 4194错误
Wed Aug 06 17:09:33 2025ALTER DATABASE RECOVER database until cancel using backup controlfile Media Recovery Start started logmerger processParallel Media Recovery started with 28 slavesORA-279 signalled during: ALTER DATABASE RECOVER database until cancel using backup controlfile ...Wed Aug 06 17:10:17 2025ALTER DATABASE RECOVER LOGFILE 'D:\app\xff\oradata\orcl\REDO05.LOG' Media Recovery Log D:\app\xff\oradata\orcl\REDO05.LOGWed Aug 06 17:10:17 2025Incomplete recovery applied all redo ever generated.Recovery completed through change 2118813100 time 08/06/2025 15:02:15Completed: ALTER DATABASE RECOVER LOGFILE 'D:\app\xff\oradata\orcl\REDO05.LOG' Wed Aug 06 17:14:05 2025alter database open resetlogsArchived Log entry 188143 added for thread 1 sequence 111985 ID 0x634438e6 dest 1:Archived Log entry 188144 added for thread 1 sequence 111986 ID 0x634438e6 dest 1:Archived Log entry 188145 added for thread 1 sequence 111987 ID 0x634438e6 dest 1:Archived Log entry 188146 added for thread 1 sequence 111984 ID 0x634438e6 dest 1:Archived Log entry 188147 added for thread 1 sequence 111988 ID 0x634438e6 dest 1:RESETLOGS after complete recovery through change 2118813100Resetting resetlogs activation ID 1665415398 (0x634438e6)Wed Aug 06 17:15:03 2025Archived Log entry 188148 added for thread 1 sequence 1 ID 0x677cfac1 dest 1:Successfully onlined Undo Tablespace 2.Dictionary check beginningDictionary check completeVerifying file header compatibility for 11g tablespace encryption..Verifying 11g file header compatibility for tablespace encryption completedSMON: enabling tx recoveryDatabase Characterset is ZHS16GBKNo Resource Manager plan activeErrors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_smon_2428.trc (incident=3264274):ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], []Incident details in: d:\app\xff\diag\rdbms\primary\orcl\incident\incdir_3264274\orcl_smon_2428_i3264274.trcreplication_dependency_tracking turned off (no async multimaster replication found)Starting background process QMNCWed Aug 06 17:15:06 2025QMNC started with pid=34, OS id=3052 LOGSTDBY: Validating controlfile with logical metadataLOGSTDBY: Validation completeCompleted: alter database open resetlogs |
后续由于该undo异常报ORA-01595和ORA-600 4194等错误导致数据库crash
Wed Aug 06 17:15:49 2025Doing block recovery for file 3 block 888Resuming block recovery (PMON) for file 3 block 888Block recovery from logseq 2, block 316 to scn 2118813732Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0 Mem# 0: D:\APP\xff\ORADATA\ORCL\REDO02.LOGBlock recovery stopped at EOT rba 2.447.16Block recovery completed at rba 2.447.16, scn 0.2118813732Doing block recovery for file 3 block 1960Resuming block recovery (PMON) for file 3 block 1960Block recovery from logseq 2, block 316 to scn 2118813622Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0 Mem# 0: D:\APP\xff\ORADATA\ORCL\REDO02.LOGBlock recovery completed at rba 2.317.16, scn 0.2118813626Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_smon_2428.trc:ORA-01595: error freeing extent (2) of rollback segment (27))ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], [], [], [], [], [] |
接手这个库之后,处理工作相对比较简单,直接对异常undo进行重建即可
Thu Aug 07 09:35:08 2025create undo tablespace undotbs2 datafile 'D:\APP\xff\ORADATA\ORCL\undotbs02.dbf' size 128M autoextend onCompleted: create undo tablespace undotbs2 datafile 'D:\APP\xff\ORADATA\ORCL\undotbs02.dbf' size 128M autoextend onThu Aug 07 09:37:53 2025drop tablespace UNDOTBS1 including contents and datafilesDeleted file D:\APP\xff\ORADATA\ORCL\UNDOTBS01.DBFCompleted: drop tablespace UNDOTBS1 including contents and datafiles |
然后数据库报大量的ORA-600 kdsgrp1错误
Thu Aug 07 10:03:53 2025Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_6156.trc (incident=5121829):ORA-00600: 内部错误代码, 参数: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []Thu Aug 07 10:04:00 2025Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_4564.trc (incident=5121501):ORA-00600: 内部错误代码, 参数: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []Thu Aug 07 10:04:06 2025Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_9160.trc (incident=5121837):ORA-00600: 内部错误代码, 参数: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []Thu Aug 07 10:04:16 2025Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_5868.trc (incident=5121821):ORA-00600: 内部错误代码, 参数: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], []Thu Aug 07 10:04:28 2025Errors in file d:\app\xff\diag\rdbms\primary\orcl\trace\orcl_ora_4448.trc (incident=5122077):ORA-00600: 内部错误代码, 参数: [kdsgrp1], [], [], [], [], [], [], [], [], [], [], [] |
* kdsgrp1-1: ************************************************* row 0x013a9ae9.0 continuation at 0x013a9ae9.0 file# 4 block# 3840745 slot 0 not foundKDSTABN_GET: 0 ..... ntab: 1curSlot: 0 ..... nrows: 2kdsgrp - dump CR block dba=0x013a9ae9Block header dump: 0x013a9ae9 Object id on Block? Y seg/obj: 0x31dd9 csc: 0x00.7dc0f246 itc: 2 flg: E typ: 1 - DATA brn: 0 bdba: 0x13a9082 ver: 0x01 opc: 0 inc: 2 exflg: 0 Itl Xid Uba Flag Lck Scn/Fsc0x01 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.000000000x02 0x0000.000.00000000 0x00000000.0000.00 ---- 0 fsc 0x0000.00000000 |
通过分析是由于index和表记录不匹配导致,对index进行重新rebuild完成本次修复任务.
浙公网安备 33010602011771号