Heim >Datenbank >MySQL-Tutorial >Oracle:ORA-39006 and ORA-39022 问题

Oracle:ORA-39006 and ORA-39022 问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:03:481035Durchsuche

在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.

linux

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn