在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. 本文出自:亿恩科技【www.enkj.com】
服务器租用/服务器托管中国五强!虚拟主机域名注册顶级提供商!15年品质保障!--亿恩科技[ENKJ.COM]
|