联系:手机/微信(+86 17813235971) QQ(107644445)
作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]
数据库发生故障,经过第三方处理过,接手之后,尝试open库报ORA-01190错误
Thu Apr 20 16:51:25 2023 alter database open upgrade Errors in file /u2/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_4818.trc: ORA-01190: control file or data file 3 is from before the last RESETLOGS ORA-01110: data file 3: '/data/topprod/undotbs01.dbf' ORA-1190 signalled during: alter database open upgrade...
这个问题是由于resetlogs的时候有文件遗漏导致resetlogs scn和其他数据文件/ctl不匹配导致,以前类似处理文章:
bbed解决ORA-01190
12C sysaux 异常恢复—ORA-01190错误恢复
Oracle Recovery Tools 解决ORA-01190 ORA-01248等故障
数据库启动报ORA-600 kcbgtcr_13错
</tmp> sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production on Thu Apr 20 17:05:24 2023 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> recover database ; Media recovery complete. SQL> alter database open ; alter database open * ERROR at line 1: ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00600: internal error code, arguments: [kcbgtcr_13], [], [], [], [], [], [], [], [], [], [], [] Process ID: 5492 Session ID: 861 Serial number: 19
alert日志报错
Thu Apr 20 17:05:37 2023 SMON: enabling cache recovery [5492] Successfully onlined Undo Tablespace 2. Undo initialization finished serial:0 start:800184 end:800294 diff:110 (1 seconds) Verifying file header compatibility for 11g tablespace encryption.. Verifying 11g file header compatibility for tablespace encryption completed SMON: enabling tx recovery Database Characterset is AL32UTF8 Errors in file /u2/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_smon_4770.trc (incident=2390097): ORA-00600: internal error code, arguments: [4193], [], [], [], [], [], [], [], [], [], [], [] Incident details in: /u2/oracle/diag/rdbms/xifenfei/xifenfei/incident/incdir_2390097/xifenfei_smon_4770_i2390097.trc Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. Errors in file /u2/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_5492.trc (incident=2390129): ORA-00600: internal error code, arguments: [kcbgtcr_13], [], [], [], [], [], [], [], [], [], [], [] Incident details in: /u2/oracle/diag/rdbms/xifenfei/xifenfei/incident/incdir_2390129/xifenfei_ora_5492_i2390129.trc Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. Block recovery from logseq 2, block 56 to scn 8615223701 Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0 Mem# 0: /u2/oracle/oradata/xifenfei/redo02.log Block recovery completed at rba 2.60.16, scn 2.25289110 Block recovery from logseq 2, block 56 to scn 8615223600 Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0 Mem# 0: /u2/oracle/oradata/xifenfei/redo02.log Block recovery completed at rba 2.59.16, scn 2.25289009 Errors in file /u2/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_smon_4770.trc: ORA-01595: error freeing extent (3) of rollback segment (5)) ORA-00600: internal error code, arguments: [4193], [], [], [], [], [], [], [], [], [], [], [] Errors in file /u2/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_5492.trc: ORA-00600: internal error code, arguments: [kcbgtcr_13], [], [], [], [], [], [], [], [], [], [], [] Errors in file /u2/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_5492.trc: ORA-00600: internal error code, arguments: [kcbgtcr_13], [], [], [], [], [], [], [], [], [], [], [] Error 600 happened during db open, shutting down database USER (ospid: 5492): terminating the instance due to error 600 Thu Apr 20 17:05:40 2023 Instance terminated by USER, pid = 5492 ORA-1092 signalled during: alter database open upgrade... opiodr aborting process unknown ospid (5492) as a result of ORA-1092
这个错误比较明显是由于undo异常导致,规避掉undo问题,数据库启动成功
SQL> startup mount pfile='/tmp/pfile' ORACLE instance started. Total System Global Area 4.2758E+10 bytes Fixed Size 2237776 bytes Variable Size 3.7447E+10 bytes Database Buffers 5234491392 bytes Redo Buffers 74444800 bytes Database mounted. SQL> alter database open ; Database altered.
然后逻辑方式导出数据,导入到新库即可,对于此类问题在2014年处理过类似的case:
记录一次ORA-600 kccpb_sanity_check_2和ORA-600 kcbgtcr_13 错误恢复