在Oracle 10g可以使用expdp,impdp。
在使用impdp通過數(shù)據(jù)庫db_link來復制遠程的數(shù)據(jù)時,
如果源數(shù)據(jù)庫的版本(比如Oracle10.2.0.1.0)比目標數(shù)據(jù)庫(如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.allwellnessguide.com】
服務器租用/服務器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]
|