中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

數據庫中不同版本exp/imp使用注意事項有哪些

發布時間:2021-11-10 10:00:06 來源:億速云 閱讀:404 作者:小新 欄目:關系型數據庫

小編給大家分享一下數據庫中不同版本exp/imp使用注意事項有哪些,希望大家閱讀完這篇文章之后都有所收獲,下面讓我們一起去探討吧!


 
  使用不同版本的exp/imp
        無論在什么時候,在不同版本的oracle 數據庫中遷移數據時,都必須要遵守如下的基本規則

  1.        1.  imp工具的版本必須和目標庫的版本相同。例如,使用版本為9.2.0.7的imp工具導入到版本為9.2.0.8的數據庫中,會遇到錯誤。

  2.        2. exp工具的版本必須與源庫或者目標庫中版本較低的相同。

         例如,從低版本的源庫exp導出數據,imp導入到高本版目標庫,那么exp的版本必須要和源庫相同。同理,
                    從高版本的源庫exp導出數據,imp導入到低版本目標庫,那么exp的版本必須和目標庫相同。
    
    使用不同版本的exp/imp的約束     

  1.     1. exp工具導出的dmp文件,只能用imp工具導入。也就是說exp/imp配對使用,expdp/impdp配對使用 。exp導出的dmp文件無法用impdp導入。

  2.     2. 任何exp導出的文件,都可以imp到高版本的數據庫中。也就是說,exp/imp向下兼容。

  3.     3. 低版本的imp工具無法讀取高版本的exp導出的文件。例如9.2 exp導出的dmp文件無法用9.0.1版本的imp工具導入。

  4.     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 Oracle9i 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 Oracle9i Export, either direct path or conventional path, are incompatible with earlier releases of Import and can be imported only with Oracle9i Import. When backward compatibility is an issue, use the earlier release or version of the Export utility against the Oracle9idatabase.

Examples of Using Different Releases of Export and Import

Table 21-5 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

看完了這篇文章,相信你對“數據庫中不同版本exp/imp使用注意事項有哪些”有了一定的了解,如果想了解更多相關知識,歡迎關注億速云行業資訊頻道,感謝各位的閱讀!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

外汇| 揭西县| 庆云县| 故城县| 平山县| 澜沧| 威远县| 金门县| 鞍山市| 惠水县| 获嘉县| 博湖县| 汤阴县| 子洲县| 盘山县| 沂源县| 永善县| 萨迦县| 和硕县| 藁城市| 秀山| 沽源县| 乌兰浩特市| 鄂尔多斯市| 通许县| 淮安市| 文水县| 鄯善县| 黑水县| 安丘市| 十堰市| 乌兰察布市| 武乡县| 绿春县| 阿尔山市| 哈巴河县| 余庆县| 密山市| 新乡市| 临泽县| 河北省|