impdp 10g/11g問題解決
今天在環境上測試expdp/impdp,環境有10.2.0.5.0,11.2.0.2.0的,11g的環境是從10g升級到11gde .是在impdp的時候都報了錯誤。
10g報錯如下:
> impdp dumpfile=a.dmp directory=true_dump tables=test_table
Import: Release 10.2.0.5.0 - 64bit Production on Tuesday, 29 October, 2013 17:24:12
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: no data or metadata objects selected for job
Master table "TEST"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "TEST"."SYS_IMPORT_TABLE_01": dumpfile=a.dmp directory=a_dump tables=test_table
Job "TEST"."SYS_IMPORT_TABLE_01" successfully completed at 17:24:15
11g報錯如下:
> impdp temp_usg/temp_usg directory=expdp_dir dumpfile=a.dmp tables=tet_table
Import: Release 11.2.0.2.0 - Production on Tue Oct 29 19:47:17 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39166: Object TEMP_USG.TEST_TABLE was not found.
最後嘗試使用remap_schema 和tables選項,還是報錯。
10g報錯:
> impdp dumpfile=a.dmp directory=a_dump remap_schema=trudbo24:test tables=test_table
Import: Release 10.2.0.5.0 - 64bit Production on Tuesday, 29 October, 2013 18:03:40
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31655: no data or metadata objects selected for job
Master table "TEST"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "TEST"."SYS_IMPORT_TABLE_01": dumpfile=a.dmp directory=true_dump remap_schema=trudbo24:test tables=csm_offer
Job "TEST"."SYS_IMPORT_TABLE_01" successfully completed at 18:03:43
11g報錯:
Import: Release 11.2.0.2.0 - Production on Tue Oct 29 19:49:32 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39166: Object TEMP_USG.TEST_TABLE was not found.
最後在tables的地方加上schema名稱,可以順利匯入了。
impdp test/test dumpfile=a.dmp directory=a_dump remap_schema=testo24:test tables=testo24.test_table
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "TEST"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "TEST"."SYS_IMPORT_TABLE_01": test/********
dumpfile=a.dmp directory=a_dump remap_schema=testo24:test tables=testo24.test_table
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "TEST"."TEST_TABLE" 1.622 MB 1939 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Job "TEST"."SYS_IMPORT_TABLE_01" successfully completed at 18:04:33
查詢metalink,也有一個類似的bug,看來只能這樣先用了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23718752/viewspace-775295/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 10g升級至11g exp的問題解決
- 10g和11g之間建立db_link的問題解決
- oracle 10g 字符集問題解決Oracle 10g
- oracle 10g em 亂碼問題解決方法Oracle 10g
- oracle 10g expdp-impdp解讀Oracle 10g
- 10g升級至11g後資料庫無法啟動的問題解決資料庫
- 解決「問題」,不要解決問題
- Oracle 10g RAC advanced replication同步問題解決Oracle 10g
- oracle 10g crs 不能啟動問題解決案例Oracle 10g
- 11g dmp 匯入10g 解決方案
- windows 下oracle 10g oem 訪問的問題解決希望有用。WindowsOracle 10g
- Impdp ORA-39083、ORA-01403報錯問題分析解決
- 10g升級到11g密碼問題密碼
- ORACLE 10G expdp/impdpOracle 10g
- oracle 10g asm windows 無法找到磁碟 的問題解決Oracle 10gASMWindows
- 10G RAC DBCA報錯 ORA-27504問題的解決
- 解決問題
- oracle 10g 解壓程式碼sqlplus出錯問題解決方法Oracle 10gSQL
- 發現問題,解決問題
- impdp ORA-39002,ORA-39166,ORA-39164的問題及解決
- ORA-29283解決方法(impdp)?
- 解決:ORACLE 11G使用exp無法導空出表問題Oracle
- 解決Oracle 11g空表不能exp匯出的問題Oracle
- 解決AIX 5.3 & Oracle 10g EM中出現的亂嗎問題AIOracle 10g
- expdp&impdp For Oracle 10GOracle 10g
- yum問題解決
- sqlitedabaseislocked問題解決SQLite
- dump 解決問題
- 透過Database Link/IMPDP,同步10G、11G資料庫失敗Database資料庫
- 解決用PLSQL Developer連線VMWare中的Oracle 11g問題SQLDeveloperOracle
- ORACLE 11g匯入9i dump的問題及解決Oracle
- Oracle 11g Data Guard搭建過程中問題解決兩例Oracle
- impdp 遇到 ORA-07445 錯誤。重新EXPDP,IMPDP解決了。
- oracle 10g imp/exp IMPDP/EXPDPOracle 10g
- 提問題比解決問題更重要
- impdp遇到char字元含中文的問題字元
- ORA-39142-impdp 版本低問題
- SERVICE問題解決方法