Oracle案例之-ORA-00600: internal error code, arguments: [4193]

Oracle案例之-ORA-00600: internal error code, arguments: [4193]

系统环境:Oracle Linux 6
Oracle:      Oracle 11gR2(11.2.0.3.0)

      数据库运行过程中,突然掉电,系统启动后,出现“ORA-00600: internal error code, arguments: [4193]”错误

告警日志:
......

Completed: ALTER DATABASE OPEN

Errors in file /u01/app/oracle/diag/rdbms/enmo1/ENMO1/trace/ENMO1_mmon_6258.trc  (inci

dent=47804):

ORA-00600: internal error code, arguments: [4193], [837518622720], [4296959404], [], [

], [], [], [], [], [], [], []

Incident details in: /u01/app/oracle/diag/rdbms/enmo1/ENMO1/incident/incdir_47804/ENMO

1_mmon_6258_i47804.trc

Use ADRCI or Support Workbench to package the incident.

See Note 411.1 at My Oracle Support for error and packaging details.

......


1、查看问题原因

[oracle@enmoedu1 arch_enmo1]$  more /u01/app/oracle/diag/rdbms/enmo1/ENMO1/trace/ENMO1_mmon_6258.trc

 

*** 2017-07-06 05:08:24.469

Incident 47804 created, dump file: /u01/app/oracle/diag/rdbms/enmo1/ENMO1/incident/inc

dir_47804/ENMO1_mmon_6258_i47804.trc

ORA-00600: internal error code, arguments: [4193], [837518622720], [4296959404], [], [

], [], [], [], [], [], [], []


kti: Replaying xcb 0x447edcf8, pmd 0x42834010 for failed op 8

kti: Reconstructing undo block 0xc08b02 for xcb 0x447edcf8

Doing block recovery for file 3 block 35586

Block header before block recovery:

buffer tsn: 2 rdba: 0x00c08b02 (3/35586)

scn: 0x0000.00000000 seq: 0x01 flg: 0x05 tail: 0x00000001

frmt: 0x02 chkval: 0x2cc2 type: 0x00=unknown

Resuming block recovery (PMON) for file 3 block 35586

Block recovery from logseq 2, block 55 to scn 1189824

......

    在trace文件中file#=3的数据文件,出现问题;而在11g数据库file#=3的是undo tablespace的数据文件,判断undo tablespace出现了问题,故采用重建undo tablespace的方法来解决


2、创建新的undo tablespace

  1)修改undo的管理为manual

SYS@ENMO1> create pfile from spfile;

File created.


通过pfile文件修改参数(spfile在nomount或mount下修改)

SYS@ENMO1> show parameter undo

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

undo_management                      string      MANUAL

undo_retention                       integer     900

undo_tablespace                      string


  2)创建新的undo tablespace

SYS@ENMO1> create undo tablespace undotbs2

  2  datafile '/u01/app/oracle/oradata/ENMO1/undotbs2.dbf' size 100m 

  3  autoextend on maxsize 2g;

Tablespace created.


  3)修改undo管理为auto

SYS@ENMO1> show parameter undo


NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

undo_management                      string      MANUAL

undo_retention                       integer     900

undo_tablespace                      string


SYS@ENMO1> alter system set undo_management=auto scope=spfile;

System altered.


SYS@ENMO1> alter system set undo_tablespace=undotbs2 scope=spfile;

System altered.


  4)删除原有的undo tablespace

SYS@ENMO1> drop tablespace undotbs1 including contents and datafiles;

Tablespace dropped.


  ---- 至此,问题解决!







你可能感兴趣的:(数据库技术)