ORA-39245處理

本日接到保障在11g通過數據泵導入數據時報錯,ORA-39245,查詢文檔發現說明如下

[oracle@evenpc ~]$ oerr ora 39245
39245, 00000, "import job requires export dump file \"%s\""
// *Cause:    A Data Pump IMPORT or SQL_FILE operation was being performed 
//            but not all of the files from the Data Pump export dump file 
//            set were included.
// *Action:   Check the export log file and make sure all of the files that
//            were exported are included in the current job. The import log
//            file also lists the export names of the missing files.

用戶說導出給了一個文件,導入的時候死活導入不了。

檢查用戶導出操作命令如下:

expdp user/passwd  directory=dump_dir dumpfile=test%U.dmp parallel=2 logfile=test.log schemas

發現用戶用了parallel參數,導出的時候絕對不止生成一個文件,問題找到了,用戶導入的時候只導入了一個文件,就會報錯了。

修改下導入操作命令如下

impdp user/passwd directory=dump_dir dumpfile=test01.dmp,test02.dmp parallel=2 schemas=test logfile=test_imp.log

問題解決。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章