在oracle 10g可以使用expdp,impdp。在使用impdp通过数据库db_link来复制远程的数据时,如果源数据库的版本(比如oracle10.2.0.1
在oracle 10g可以使用expdp,,impdp。
在使用impdp通过数据库db_link来复制远程的数据时,
如果源数据库的版本(比如oracle10.2.0.1.0)比目标数据库(如oracle10.1.0.2.0)的高。
则会下面的报错:
import: release 10.1.0.2.0 - production on 星期三, 21 4月, 2010 9:09
copyright (c) 2003, oracle. all rights reserved.
connected to: oracle database 10g enterprise edition release 10.1.0.2.0 - produc
tion
with the partitioning, olap and data mining options
ora-39006: internal error
ora-39022: database version 10.2.0.1.0 is not supported.
这是由于oracle的一个bug。
the errors ora-39006 and ora-39022 displayed if a data pump job with network_link is started on a local 10.1.x database and the database link connects to a remote 10.2.x or 11.x source database.
solution of the problem
solution 01:
- do data pump export operation without network_link parameter.
- transfer the data pump export file on the the other server.
solution 02:
with usage of network_link parameter,
- make sure that local connecting database is a 10.2.0.3.0 or higher release database.
- explicitly use version=10.2 while doing expdp operation.