【exp/imp不同版本】Oracle不同版本的exp/imp使用注意事項
轉自: https://blog.csdn.net/apporacle/article/details/45287809
如有侵權,請告知,立即處理
在進行資料遷移,常用到exp/imp工具,該工具可以跨平臺、版本。下面介紹下在使用不同版本的exp/imp時候的注意事項
官網說明如下
使用不同版本的exp/imp
無論在什麼時候,在不同版本的oracle 資料庫中遷移資料時,都必須要遵守如下的基本規則
- 1. imp工具的版本必須和目標庫的版本相同。例如,使用版本為 9.2.0.7的imp工具匯入到版本為9.2.0.8的資料庫中,會遇到錯誤。
- 2. exp工具的版本必須與源庫或者目標庫中版本較低的相同。
例如,從低版本的源庫exp匯出資料,imp匯入到高本版目標庫,那麼exp的版本必須要和源庫相同。同理,
從高版本的源庫exp匯出資料,imp匯入到低版本目標庫,那麼exp的版本必須和目標庫相同。
使用不同版本的exp/imp的約束
- 1. exp工具匯出的dmp檔案,只能用imp工具匯入。也就是說exp/imp配對使用,expdp/impdp配對使用 。exp匯出的dmp檔案無法用impdp匯入。
- 2. 任何exp匯出的檔案,都可以imp到高版本的資料庫中。也就是說,exp/imp向下相容。
- 3. 低版本的imp工具無法讀取高版本的exp匯出的檔案。例如9.2 exp匯出的dmp檔案無法用9.0.1版本的imp工具匯入。
- 4. whenever a lower version of the Export utility runs with a later release of the Oracle database, categories of database objects that did not exist in the earlier release are excluded from the export.
不同版本exp/imp遷移資料參照表
,參見文章末尾處 表21-5
Using Different Releases of Export and Import
This section describes compatibility issues that relate to using different releases of Export and the Oracle database.
Whenever you are moving data between different releases of the Oracle database, the following basic rules apply:
-
The Import utility and the database to which data is being imported (the target database) must be the same release. For example, if you try to use the Import utility 9.2.0.7 to import into a 9.2.0.8 database, then you may encounter errors.
-
The version of the Export utility must be equal to the release of either the source or target database, whichever is earlier.
For example, to create an export file for an import into a later release database, use a version of the Export utility that equals the source database. Conversely, to create an export file for an import into an earlier release database, use a version of the Export utility that equals the release of the target database.
-
In general, you can use the Export utility from any Oracle8 release to export from an Oracle9 i server and create an Oracle8 export file.
-
Restrictions When Using Different Releases of Export and Import
The following restrictions apply when you are using different releases of Export and Import:
-
Export dump files can be read only by the Import utility because they are stored in a special binary format.
-
Any export dump file can be imported into a later release of the Oracle database.
-
The Import utility cannot read export dump files created by the Export utility of a later maintenance release. For example, a release 9.2 export dump file cannot be imported by a release 9.0.1 Import utility.
-
Whenever a lower version of the Export utility runs with a later release of the Oracle database, categories of database objects that did not exist in the earlier release are excluded from the export.
-
Export files generated by Oracle9 i Export, either direct path or conventional path, are incompatible with earlier releases of Import and can be imported only with Oracle9 i Import. When backward compatibility is an issue, use the earlier release or version of the Export utility against the Oracle9 idatabase.
Examples of Using Different Releases of Export and Import
shows some examples of which Export and Import releases to use when moving data between different releases of the Oracle database.
Table 21-5 Using Different Releases of Export and Import
Export from->Import to | Use Export Release | Use Import Release |
---|---|---|
8.1.6 -> 8.1.6 |
8.1.6 |
8.1.6 |
8.1.5 -> 8.0.6 |
8.0.6 |
8.0.6 |
8.1.7 -> 8.1.6 |
8.1.6 |
8.1.6 |
9.0.1 -> 8.1.6 |
8.1.6 |
8.1.6 |
9.0.1 -> 9.0.2 |
9.0.1 |
9.0.2 |
9.0.2 -> 10.1.0 |
9.0.2 |
10.1.0 |
10.1.0 -> 9.0.2 |
9.0.2 |
9.0.2 |
covers moving data only between the original Export and Import utilities. For Oracle Database 10 g release 1 (10.1) or higher, Oracle recommends the Data Pump Export and Import utilities in most cases because these utilities provide greatly enhanced performance compared to the original Export and Import utilities.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29487349/viewspace-2629903/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 不同版本exp/imp使用注意事項
- oracle exp和impOracle
- exp&imp的使用方法
- exp和imp詳解
- oracle資料匯出匯入(exp/imp)Oracle
- 使用imp/exp遇到兩個問題
- exp匯出遭遇IMP-00020
- [20190520]exp imp on th fly.txt
- EXP、IMP、SQLLOADER、EXPDP、IMPDP、DBMS_METADATA、SQLPLUS等方面SQL
- 用exp、imp遷移包含物化檢視日誌的資料
- Oracle資料庫匯入匯出。imp匯入命令和exp匯出命令Oracle資料庫
- Oracle OCP(54):IMPOracle
- Oracle OCP(54):EXPOracle
- Oracle-exp命令Oracle
- Oracle使用*的注意事項Oracle
- 為不同專案指定不同的 PHP 版本PHP
- 正規表示式之(exp),(?:exp),(?=exp) 理解
- 如何在 XAMPP 中使用 不同的 PHP 版本PHP
- hadoop不同版本有哪些Hadoop
- 能select的表,可以exp嗎?有exp_full_database就能exp其他使用者的表嗎?Database
- [轉載 mos] Oracle RAC 不同版本不同平臺官檔收集記錄Oracle
- Ubuntu 切換不同 CUDA 版本Ubuntu
- javascript引入了不同版本的多個jquery,如何不同版本之間不互相影響JavaScriptjQuery
- Oracle臨時表使用注意事項Oracle
- 7.84 EXP
- weblogic版本升級遷移需要注意事項Web
- Qt Creator匯入不同Qt版本QT
- MySQL JDBC驅動版本與資料庫版本的對應關係及注意事項MySqlJDBC資料庫
- 不同版本的 web.xml 頭資訊WebXML
- Ubuntu 不同版本的下載 以及 換源Ubuntu
- 淺析py-faster-rcnn中不同版本caffe的安裝及其對應不同版本cudnn的解決方案ASTCNNDNN
- MySQL 不同版本預設字符集MySql
- 電腦本地安裝不同版本MySQLMySql
- 神奇解決NoClassDefFoundError版本不同的問題Error
- exp匯出報錯EXP-00106問題處理
- IMP-00009: abnormal end of export fileORMExport
- JavaScript Math.exp()JavaScript
- EXP增量備份