ORACLE 11g匯入9i dump的問題及解決
因為系統遷移,需要將一部分的9i的資料匯入11g的庫裡,
目標庫是11.2.0.3.0 64位的環境。
匯入dump的時候,有一個比較大的分割槽表,需要用匯入分割槽的方式,就寫了如下的命令。但是奇怪的是過了一會,丟擲來一個imp的錯誤就完事了。
-bash-4.1$ imp n1/n1@testdb tables=TEST_DB:TEST_DB_PAR_P1 file=TEST_DBP1.dmp ignore=Y statistics=none grants=n indexes=n buffer=9102000 log=imp_log_TEST_DB_PAR_P1_test
Import: Release 11.2.0.3.0 - Production on Wed Mar 19 17:05:33 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via direct path
Warning: the objects were exported by SYSTEM, not by you
import done in UTF8 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses ZHT16MSWIN950 character set (possible charset conversion)
. importing SYSTEM's objects into N1
IMP-00055: Warning: partition or subpartition "TEST_DB":"TEST_DB_PAR_P1" not found in export file
Import terminated successfully with warnings.
我以為我的表名和分割槽寫的有問題,檢查了一下,都在的。
為了繼續,然後嘗試直接按表匯入,但是還是導不進去,不過報錯資訊倒是不太一樣了。
-bash-4.1$ imp n1/n1@testdb tables=TEST_DB file=TEST_DBP1.dmp ignore=Y statistics=none grants=n indexes=n buffer=9102000 log=imp_log_TEST_DB_PAR_P1_test
Import: Release 11.2.0.3.0 - Production on Wed Mar 19 17:04:11 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via direct path
Warning: the objects were exported by SYSTEM, not by you
import done in UTF8 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses ZHT16MSWIN950 character set (possible charset conversion)
. importing SYSTEM's objects into N1
IMP-00033: Warning: Table "TEST_DB" not found in export file
Import terminated successfully with warnings.
開始懷疑是不是dump有問題了,確認了下checksum也是一樣的。
最後嘗試如下的方式,加了 fromuser ,touser選項,竟然可以了。
imp n1/n1@testdb tables=TEST_DB:TEST_DB_PAR_P1 fromuser=TEST_APPO touser=PSCNVDBO1 file=TEST_DBP1.dmp ignore=Y statistics=none grants=n indexes=n buffer=9102000 log=imp_log_TEST_DB_PAR_P1 &
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via direct path
Warning: the objects were exported by SYSTEM, not by you
import done in UTF8 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses ZHT16MSWIN950 character set (possible charset conversion)
. importing TEST_APPO's objects into N1
. . importing partition "TEST_DB":"TEST_DB_PAR_P1" 29673834 rows imported
Import terminated successfully without warnings.
檢視metalink,也沒有發現類似的帖子。也算自己為ORACLE出了一點力吧。
目標庫是11.2.0.3.0 64位的環境。
匯入dump的時候,有一個比較大的分割槽表,需要用匯入分割槽的方式,就寫了如下的命令。但是奇怪的是過了一會,丟擲來一個imp的錯誤就完事了。
-bash-4.1$ imp n1/n1@testdb tables=TEST_DB:TEST_DB_PAR_P1 file=TEST_DBP1.dmp ignore=Y statistics=none grants=n indexes=n buffer=9102000 log=imp_log_TEST_DB_PAR_P1_test
Import: Release 11.2.0.3.0 - Production on Wed Mar 19 17:05:33 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via direct path
Warning: the objects were exported by SYSTEM, not by you
import done in UTF8 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses ZHT16MSWIN950 character set (possible charset conversion)
. importing SYSTEM's objects into N1
IMP-00055: Warning: partition or subpartition "TEST_DB":"TEST_DB_PAR_P1" not found in export file
Import terminated successfully with warnings.
我以為我的表名和分割槽寫的有問題,檢查了一下,都在的。
為了繼續,然後嘗試直接按表匯入,但是還是導不進去,不過報錯資訊倒是不太一樣了。
-bash-4.1$ imp n1/n1@testdb tables=TEST_DB file=TEST_DBP1.dmp ignore=Y statistics=none grants=n indexes=n buffer=9102000 log=imp_log_TEST_DB_PAR_P1_test
Import: Release 11.2.0.3.0 - Production on Wed Mar 19 17:04:11 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via direct path
Warning: the objects were exported by SYSTEM, not by you
import done in UTF8 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses ZHT16MSWIN950 character set (possible charset conversion)
. importing SYSTEM's objects into N1
IMP-00033: Warning: Table "TEST_DB" not found in export file
Import terminated successfully with warnings.
開始懷疑是不是dump有問題了,確認了下checksum也是一樣的。
最後嘗試如下的方式,加了 fromuser ,touser選項,竟然可以了。
imp n1/n1@testdb tables=TEST_DB:TEST_DB_PAR_P1 fromuser=TEST_APPO touser=PSCNVDBO1 file=TEST_DBP1.dmp ignore=Y statistics=none grants=n indexes=n buffer=9102000 log=imp_log_TEST_DB_PAR_P1 &
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
Export file created by EXPORT:V09.02.00 via direct path
Warning: the objects were exported by SYSTEM, not by you
import done in UTF8 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses ZHT16MSWIN950 character set (possible charset conversion)
. importing TEST_APPO's objects into N1
. . importing partition "TEST_DB":"TEST_DB_PAR_P1" 29673834 rows imported
Import terminated successfully without warnings.
檢視metalink,也沒有發現類似的帖子。也算自己為ORACLE出了一點力吧。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23718752/viewspace-1125296/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於Oracle 9i字符集問題的解決辦法FCOracle
- 【oracle 資料匯入匯出字元問題】Oracle字元
- VSCode中解決python模組匯入問題VSCodePython
- Oracle 錯誤總結及問題解決 ORAOracle
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- Confluence6匯入SSL證書和問題解決
- android studio匯入專案--解決gradle-headache問題AndroidGradle
- Oracle 11g impdp 先資料後索引匯入方法Oracle索引
- 若依框架匯入阿里OSS報錯問題解決方案框架阿里
- 解決goland 匯入專案後import裡的包報紅問題GoLandImport
- 解決SBT下載慢,dump project structure from sbt問題ProjectStruct
- oracle程式異常中止時登入掛起問題的解決Oracle
- JDBC Oracle executeUpdate 卡死問題解決JDBCOracle
- 解決Oracle序列跳號問題Oracle
- 土製Excel匯入匯出及相關問題探討Excel
- PostgreSQL邏輯備份恢復--pg_dump匯出及psql匯入案例SQL
- html匯入導航欄本地檔案解決跨域問題HTML跨域
- IPython的安裝及問題解決Python
- oracle 11.2.0.4 DataGuard Broker配置過程中可能遇到的問題及解決方法Oracle
- 解決Oracle死鎖問題步驟Oracle
- SSH登入很慢問題的解決
- Dynamics 365 Online 匯入解決方案託管實體無法同步的問題
- 在Python 3.2中使用OAuth匯入失敗的問題與解決方案PythonOAuth
- POI實現大資料EXCLE匯入匯出,解決記憶體溢位問題大資料記憶體溢位
- Kafka常見的問題及解決方案Kafka
- CAS導致的ABA問題及解決
- Xcode 10.1 新特性及解決的問題XCode
- nodejs 近期所遇到的問題及解決NodeJS
- 【Salesforce問題解決】Dataloader匯出的檔案亂碼或者問號的解決辦法Salesforce
- Harbor搭建及配置 問題解決
- Git常見問題及解決Git
- 跨域問題及解決方案跨域
- redis安裝及問題解決Redis
- Fedora下FCITX輸入法安裝及問題排查解決詳解
- oracle 使用nullif解決除數為零的問題OracleNull
- 解決本地筆記匯入部落格中圖片無法顯示的問題筆記
- ORACLE賬戶提示EXPIRED(GRACE)問題解決Oracle
- Oracle:ORA-27090 問題解決總結Oracle
- 近期工作遇到的問題及解決方式收藏