Impdp Terminates With Error ORA-39126, LPX-00225

zhanglei_itput發表於2010-09-28

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章