从10.2.0.4数据库将数据导入到11.2.0.3 rac,日志文件中有如下错误信息:
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob,
NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_r
ow, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, b
ase_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progres
s, original_object_schema, original_object_name, creation_level, object_int_oid FROM "LBS"."SYS_IMPORT_FULL_02
" WHERE process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY p
rocess_order]
ORA-39183: internal error -19 ocurred during decompression phase 2
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x13bf7116e8 20462 package body SYS.KUPW$WORKER
0x13bf7116e8 9028 package body SYS.KUPW$WORKER
0x13bf7116e8 4185 package body SYS.KUPW$WORKER
0x13bf7116e8 9725 package body SYS.KUPW$WORKER
0x13bf7116e8 1775 package body SYS.KUPW$WORKER
0x1393673c40 2 anonymous block
ORA-39097: Data Pump job encountered unexpected error -1427
ORA-39065: unexpected master process exception in DISPATCH
ORA-01427: single-row subquery returns more than one row
从这里可以看出是在执行TABLE_STATISTICS的时候因为数据类型和导入数据不匹配,导致impdp job终止.
解决办法
参考文档:[ID 878626.1]
1.如果数据已经expdp导出,建议在导入的时候屏蔽掉统计信息导入EXCLUDE=STATISTICS,导入后使用DBMS_STATS 重新收集统计信息
impdp lbs/lbs directory=a1 dumpfile=lbs_20140310.dmp logfile=lbs20140310.log TABLE_EXISTS_ACTION=append parallel=5 cluster=n EXCLUDE=STATISTICS
导入完成后重新检查,发现导入成功。
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [SELECT process_order, flags, xml_clob,
NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, NVL(value_n, 0), grantor, object_r
ow, object_schema, object_long_name, partition_name, subpartition_name, processing_status, processing_state, b
ase_object_type, base_object_schema, base_object_name, base_process_order, property, size_estimate, in_progres
s, original_object_schema, original_object_name, creation_level, object_int_oid FROM "LBS"."SYS_IMPORT_FULL_02
" WHERE process_order between :3 AND :4 AND duplicate = 0 AND processing_state NOT IN (:5, :6, :7) ORDER BY p
rocess_order]
ORA-39183: internal error -19 ocurred during decompression phase 2
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x13bf7116e8 20462 package body SYS.KUPW$WORKER
0x13bf7116e8 9028 package body SYS.KUPW$WORKER
0x13bf7116e8 4185 package body SYS.KUPW$WORKER
0x13bf7116e8 9725 package body SYS.KUPW$WORKER
0x13bf7116e8 1775 package body SYS.KUPW$WORKER
0x1393673c40 2 anonymous block
ORA-39097: Data Pump job encountered unexpected error -1427
ORA-39065: unexpected master process exception in DISPATCH
ORA-01427: single-row subquery returns more than one row
从这里可以看出是在执行TABLE_STATISTICS的时候因为数据类型和导入数据不匹配,导致impdp job终止.
解决办法
参考文档:[ID 878626.1]
1.如果数据已经expdp导出,建议在导入的时候屏蔽掉统计信息导入EXCLUDE=STATISTICS,导入后使用DBMS_STATS 重新收集统计信息
impdp lbs/lbs directory=a1 dumpfile=lbs_20140310.dmp logfile=lbs20140310.log TABLE_EXISTS_ACTION=append parallel=5 cluster=n EXCLUDE=STATISTICS
导入完成后重新检查,发现导入成功。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22969361/viewspace-1104370/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22969361/viewspace-1104370/