028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

数据库中不同版本exp/imp使用注意事项有哪些

小编给大家分享一下数据库中不同版本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:

Restrictions When Using Different Releases of Export and Import

The following restrictions apply when you are using different releases of Export and Import:

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使用注意事项有哪些”有了一定的了解,如果想了解更多相关知识,欢迎关注创新互联行业资讯频道,感谢各位的阅读!


网页题目:数据库中不同版本exp/imp使用注意事项有哪些
网站路径:http://www.tsicrk.com/article/ipiici.html

其他资讯

让你的专属顾问为你服务

0.7625s