oracle 匯入報錯ORA-39126,ORA-06502,LPX-00230

來源:互聯網
上載者:User

標籤:ken   ora   tac   expect   rect   sch   job   style   font   

oracle11.2.0.4  impdp 匯入資料庫的時候報錯

匯入命令:

impdp system/Cloud#osshk directory=data_pump_dir dumpfile=20180712.dmp logfile=20180712.log  schemas=xx,ss  

匯入報錯,報錯提示如下

 1 . . imported "WFM"."WO_SPEED_RECORD" 0 KB 0 rows 2 . . imported "WFM"."WO_WIDTHBAND_SPEED_LOG" 0 KB 0 rows 3 Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX 4 Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT 5 Processing object type SCHEMA_EXPORT/TABLE/COMMENT 6 ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS [COMMENT] 7 ORA-06502: PL/SQL: numeric or value error 8 LPX-00230: invalid character 60 (U+003C) found in a Name or Nmtoken 9 10 ORA-06512: at "SYS.DBMS_SYS_ERROR", line 9511 ORA-06512: at "SYS.KUPW$WORKER", line 971512 13 ----- PL/SQL Call Stack -----14 object line object15 handle number name16 0x9c7b75d30 21979 package body SYS.KUPW$WORKER17 0x9c7b75d30 9742 package body SYS.KUPW$WORKER18 0x9c7b75d30 17950 package body SYS.KUPW$WORKER19 0x9c7b75d30 4058 package body SYS.KUPW$WORKER20 0x9c7b75d30 10450 package body SYS.KUPW$WORKER21 0x9c7b75d30 1824 package body SYS.KUPW$WORKER22 0x9b6d68920 2 anonymous block23 24 ORA-39097: Data Pump job encountered unexpected error -142725 ORA-39065: unexpected master process exception in DISPATCH26 ORA-01427: single-row subquery returns more than one row27 28 Job "SYSTEM"."SYS_IMPORT_SCHEMA_04" stopped due to fatal error at Thu Jul 12 15:08:49 2018 elapsed 0 00:00:30

 

解決方案

匯入的時候不匯入comment。使用如下命令即可匯入成功

impdp system/Cloud#osshk directory=data_pump_dir dumpfile=20180712.dmp logfile=20180712.log  schemas=xx,ss  EXCLUDE=comment

解決思路

匯入的時候報錯了,一般就是看在匯入什麼東西的時候報的錯,報錯資訊的第5行提示是在

Processing object type SCHEMA_EXPORT/TABLE/COMMENT

那麼我在匯入的時候直接排除comment就好了,comment在匯入完成後想其他辦法重建吧。

oracle 匯入報錯ORA-39126,ORA-06502,LPX-00230

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.