Welcome 微信登录

首页 / 数据库 / MySQL / Oracle:ORA-39006 and ORA-39022 问题

在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:09Copyright (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.只把Oracle的存储过程或者函数全部迁移到其他的数据库中如何处理Oracle的UNDO表空间所对应的数据文件过大问题相关资讯      Oracle教程 
  • Oracle中纯数字的varchar2类型和  (07/29/2015 07:20:43)
  • Oracle教程:Oracle中查看DBLink密  (07/29/2015 07:16:55)
  • [Oracle] SQL*Loader 详细使用教程  (08/11/2013 21:30:36)
  • Oracle教程:Oracle中kill死锁进程  (07/29/2015 07:18:28)
  • Oracle教程:ORA-25153 临时表空间  (07/29/2015 07:13:37)
  • Oracle教程之管理安全和资源  (04/08/2013 11:39:32)
本文评论 查看全部评论 (0)
表情: 姓名: 字数