impdp 只匯入資料 ORA-39126 ORA-31603 ORA-06512
[oracle@test dump_dir]$ impdp system/system directory=dump_dir dumpfile=20150209.dmp CONTENT=DATA_ONLY DATA_OPTIONS=SKIP_CONSTRAINT_ERRORS
Import: Release 11.2.0.1.0 - Production on ? 2 14:27:16 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
YSTEM"."SYS_IMPORT_SCHEMA_22"
"SYSTEM"."SYS_IMPORT_SCHEMA_22": system/********@test directory=dump_dir dumpfile=TEST_20150209.dmp SCHEMAS=TEST CONTENT=DATA_ONLY DATA_OPTIONS=SKIP_CONSTRAINT_ERRORS
SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39126: UPW$WORKER.UPATE_TD_ROW_IMP [62] orker
TABLE_DATA:"TEST"."WF_CUST"
ORA-31603: "WF_CUST" TABLE, TEST"
ORA-06512: SYS.DBMS_SYS_ERROR", line 105
ORA-06512: SYS.KUPW$WORKER", line 8170
----- PL/SQL Call Stack -----
object line object
handle number name
0x2c7c802f0 19028 package body SYS.KUPW$WORKER
0x2c7c802f0 8191 package body SYS.KUPW$WORKER
0x2c7c802f0 18608 package body SYS.KUPW$WORKER
0x2c7c802f0 4104 package body SYS.KUPW$WORKER
0x2c7c802f0 8874 package body SYS.KUPW$WORKER
0x2c7c802f0 1651 package body SYS.KUPW$WORKER
0x2dbeeb108 2 anonymous block
ORA-39126: UPW$WORKER.UPATE_TD_ROW_IMP [62] orker
TABLE_DATA:"TEST"."WF_CUST"
ORA-31603: "WF_CUST" TABLE, TEST"
ORA-06512: SYS.DBMS_SYS_ERROR", line 105
ORA-06512: SYS.KUPW$WORKER", line 8170
----- PL/SQL Call Stack -----
object line object
handle number name
0x2c7c802f0 19028 package body SYS.KUPW$WORKER
0x2c7c802f0 8191 package body SYS.KUPW$WORKER
0x2c7c802f0 18608 package body SYS.KUPW$WORKER
0x2c7c802f0 4104 package body SYS.KUPW$WORKER
0x2c7c802f0 8874 package body SYS.KUPW$WORKER
0x2c7c802f0 1651 package body SYS.KUPW$WORKER
0x2dbeeb108 2 anonymous block
"SYSTEM"."SYS_IMPORT_SCHEMA_22" 14:27:24 ??
原因:由於content=data_only,匯入時,必須確定meta_data是存在的,如果表結構不存在,則報以上錯誤。
解決方式:
建立相應結構即可。
Import: Release 11.2.0.1.0 - Production on ? 2 14:27:16 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
YSTEM"."SYS_IMPORT_SCHEMA_22"
"SYSTEM"."SYS_IMPORT_SCHEMA_22": system/********@test directory=dump_dir dumpfile=TEST_20150209.dmp SCHEMAS=TEST CONTENT=DATA_ONLY DATA_OPTIONS=SKIP_CONSTRAINT_ERRORS
SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39126: UPW$WORKER.UPATE_TD_ROW_IMP [62] orker
TABLE_DATA:"TEST"."WF_CUST"
ORA-31603: "WF_CUST" TABLE, TEST"
ORA-06512: SYS.DBMS_SYS_ERROR", line 105
ORA-06512: SYS.KUPW$WORKER", line 8170
----- PL/SQL Call Stack -----
object line object
handle number name
0x2c7c802f0 19028 package body SYS.KUPW$WORKER
0x2c7c802f0 8191 package body SYS.KUPW$WORKER
0x2c7c802f0 18608 package body SYS.KUPW$WORKER
0x2c7c802f0 4104 package body SYS.KUPW$WORKER
0x2c7c802f0 8874 package body SYS.KUPW$WORKER
0x2c7c802f0 1651 package body SYS.KUPW$WORKER
0x2dbeeb108 2 anonymous block
ORA-39126: UPW$WORKER.UPATE_TD_ROW_IMP [62] orker
TABLE_DATA:"TEST"."WF_CUST"
ORA-31603: "WF_CUST" TABLE, TEST"
ORA-06512: SYS.DBMS_SYS_ERROR", line 105
ORA-06512: SYS.KUPW$WORKER", line 8170
----- PL/SQL Call Stack -----
object line object
handle number name
0x2c7c802f0 19028 package body SYS.KUPW$WORKER
0x2c7c802f0 8191 package body SYS.KUPW$WORKER
0x2c7c802f0 18608 package body SYS.KUPW$WORKER
0x2c7c802f0 4104 package body SYS.KUPW$WORKER
0x2c7c802f0 8874 package body SYS.KUPW$WORKER
0x2c7c802f0 1651 package body SYS.KUPW$WORKER
0x2dbeeb108 2 anonymous block
"SYSTEM"."SYS_IMPORT_SCHEMA_22" 14:27:24 ??
原因:由於content=data_only,匯入時,必須確定meta_data是存在的,如果表結構不存在,則報以上錯誤。
解決方式:
建立相應結構即可。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28258625/viewspace-1431237/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- expdp impdp只匯出匯入viewView
- Impdp資料泵匯入
- 使用資料泵impdp匯入資料
- Oracle資料泵匯出匯入(expdp/impdp)Oracle
- IMPDP匯入遠端資料庫資料庫
- 資料庫泵(expdp/impdp)匯入匯出流程資料庫
- 資料泵IMPDP 匯入工具的使用
- mysqldump只匯入資料或只導結構MySql
- expdp impdp 資料庫匯入匯出命令詳解資料庫
- Oracle使用資料泵expdp,impdp進行資料匯出匯入Oracle
- 關於ORACLE 11.2.0.3RAC impdp匯入的問題--ORA-39126: WorkercOracle
- 然後再全庫匯入排除view資料庫在impdp匯入View資料庫
- impdp匯入資料後,system 表空間整理
- Oracle expdp/impdp匯出匯入命令及資料庫備份Oracle資料庫
- 通過EXPDP/IMPDP匯出匯入遠端資料倒本地
- Oracle expdp/impdp匯入匯出備份資料庫指令碼Oracle資料庫指令碼
- 使用EXPDP/IMPDP匯入匯出表中資料/後設資料測試
- 【IMPDP】使用IMPDP自動建立使用者並完成資料的匯入
- 用impdp匯入資料的一次經歷
- rac環境下使用impdp匯入資料出錯
- impdp 匯入 指令碼指令碼
- 【EXPDP/IMPDP】使用 EXPDP/IMPDP工具“模糊”匯出和匯入
- impdp做資料匯入時約束和觸發器引起資料匯入後應用故障觸發器
- Oracle 11g impdp 先資料後索引匯入方法Oracle索引
- Oracle 19.3資料庫impdp匯入view時hang住Oracle資料庫View
- Oracle 28.6資料庫impdp匯入view時hang@11Oracle資料庫View
- 19c資料庫impdp匯入view時hang住資料庫View
- Oracle IMPDP匯入資料案例之注意事項(undo/temp)Oracle
- 在異機上利用dblink做impdp資料匯入
- 10g 單機資料庫impdp 匯入RAC DB資料庫
- oracle匯入匯出之expdp/impdpOracle
- 【impdp】使用impdp工具排除特定表的匯入
- IMPDP 高版本DUMP檔案匯入低版本資料庫資料庫
- 使用impdp network link 跳過expdp直接匯入資料
- expdp與impdp全庫匯出匯入
- 資料泵(expdp,impdp)高版本匯入低版本操作例項
- expdp與impdp全庫匯出匯入(二)
- 【IMPDP】使用工具IMPDP匯入資料時ORA-39002、ORA-39070錯誤排查