昨日oracle 11.2.0.4 RAC数据库日志报错 ORA-00600: internal error code, arguments: [25027], [17434], [624983373], [], [], [], [], [], [], [], [], [] Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. Tue Apr 23 14:01:03 2019 Errors in file /u01/app/db/diag/rdbms/accx/ACC1/trace/ACC1_ora_183558.trc (incident=505356): ORA-00600: 内部错误代码, 参数: [25027], [17434], [624983373], [], [], [], [], [], [], [], [], [] 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 /u01/app/db/diag/rdbms/accx/ACC1/trace/ACC1_ora_183558.trc (incident=505357): ORA-00600: 内部错误代码, 参数: [25027], [17434], [624983373], [], [], [], [], [], [], [], [], [] Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. 检查trace文件, 只执行一个查询语句就报错, select * from dbusrinterface.acc_promshare where sheetid='AAAA20190422388813' and CHECKDATE=date'2019-04-21';

经过测试,发现只要带sheetid列做查询条件,都会报ora-00600的错误。 官方文档说这个跟LOB字段有关,或者跟表空间有关,但该表是分区表,没有LOB字段。 解决的步骤: 1,重启了数据库,但是还是报错。 2,根据17434参数,找到数据文件,检查数据文件也没有坏块 3,重建子分区索引,还是查询报错 alter index DBUSRINTERFACE.PK_ACC_PROMSHARE rebuild subpartition TAB_P1904_B001; alter index DBUSRINTERFACE.PK_ACC_PROMSHARE rebuild subpartition TAB_P1904_B002; alter index DBUSRINTERFACE.PK_ACC_PROMSHARE rebuild subpartition TAB_P1904_B003; alter index DBUSRINTERFACE.PK_ACC_PROMSHARE rebuild subpartition TAB_P1904_B004; ...... 4,导出该表数据,将该表表名和索引改名,重新导入数据到原表,查询未报错。 rename ACC_PROMSHARE to ACC_PROMSHARE_bak;

alter index IDX_ACC_PROMSHARE_HASH rename to IDX_ACC_PROMSHARE_HASH_bak; alter index PK_ACC_PROMSHARE rename to PK_ACC_PROMSHARE_bak;

expdp crvdba/******** directory=dmp1 dumpfile=acc%u.dmp logfile=20190423.log compression=all tables=dbusrinterface.acc_promshare parallel=8 cluster=n

impdp busrinterface/******** directory=dmp1 logfile=423.log dumpfile=acc%u.dmp parallel=8 cluster=n