DataPump Import Including Statistics Terminates With Fatal Error ORA-39126, ORA-6502, LPX-225 End-Element Tag "HIST_GRAM_LIST_ITEM" [ID 878626.1]
--------------------------------------------------------------------------------
修改时间 11-FEB-2010 类型 PROBLEM 状态 MODERATED
In this Document
Symptoms
Cause
Solution
--------------------------------------------------------------------------------
Applies to:
Oracle Server - Standard Edition - Version: 10.1.0.3 to 11.1.0.7 - Release: 10.1 to 11.1
Information in this document applies to any platform.
Symptoms
DataPump import terminates with the following errors captured in the import log:
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS
[TABLE_STATISTICS]
ORA-06502: PL/SQL: numeric or value error
LPX-00225: end-element tag "HIST_GRAM_LIST_ITEM" does not match start-element tag "EPVALUE"
ORA-06512: at "SYS.DBMS_SYS_ERROR"
ORA-06512: at "SYS.KUPW$WORKER"
Cause
The statistics included in the import may be malformed.
Solution
To work around this issue, repeat either the expdp task or the impdp task using the EXCLUDE=STATISTICS parameter. After import, regenerate the statistics for the imported objects on the target database using the DBMS_STATS package.
说明:最近在跑了将近2个多月的expdp和impdp以后,出现了一个ORA-39125的错误,网上查了相关资料,有的说是bug,有的说是触发器,虽然报错代码和我的很相似,但是只有上述的metalink和我是完全一致的,看到老杨的blog,彻底放心了,由于是个每日同步环境,所以加入EXCLUED=STATISTICS是最简单的绕过bug的方法。
参考链接:
1. http://space.itpub.net/4227/viewspace-511964
2. DataPump Import Including Statistics Terminates With Fatal Error ORA-39126, ORA-6502, LPX-225 End-Element Tag "HIST_GRAM_LIST_ITEM" [ID 878626.1]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9252210/viewspace-674984/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/9252210/viewspace-674984/