当前位置:  数据库>oracle

通过数据库链导出遇到ORA-39126错误

    来源: 互联网  发布时间:2017-05-13

    本文导语: 在Oracle 11.2.0.2数据库中通过NETWORK_LINK方式导出或导入10.2.0.3数据库中的表,出现了这个错误。 详细错误如下: [oracle@Oracle112 dmp]$ impdp system/password noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_CO...

在Oracle 11.2.0.2数据库中通过NETWORK_LINK方式导出或导入10.2.0.3数据库中的表,出现了这个错误。

详细错误如下:

[oracle@Oracle112 dmp]$ impdp system/password noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107;

Import: Release 11.2.0.2.0 - Production on Wed Mar 16 04:44:36 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_IMPORT_TABLE_01": system/******** noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8353

----- PL/SQL Call Stack -----
object line object
 handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 12748 package body SYS.KUPW$WORKER
0x136b50808 4742 package body SYS.KUPW$WORKER
0x136b50808 9110 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x137e37d68 2 anonymous block

Job "SYSTEM"."SYS_IMPORT_TABLE_01" stopped due to fatal error at 04:44:38

[oracle@Oracle112 dmp]$ expdp system/password directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107

Export: Release 11.2.0.2.0 - Production on Wed Mar 16 04:46:21 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358

----- PL/SQL Call Stack -----
 object line object
 handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x1358a19a0 2 anonymous block

Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358

----- PL/SQL Call Stack -----
 object line object
 handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x1358a19a0 2 anonymous block

Job "SYSTEM"."SYS_EXPORT_TABLE_01" stopped due to fatal error at 04:46:52

[oracle@Oracle112 dmp]$ expdp system/password directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107 version=10.2.0.3

Export: Release 11.2.0.2.0 - Production on Wed Mar 16 04:52:55 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_02": system/******** directory=dmp dumpfile=xyyzone_table_110316.dp noLOGFILE=y tables=xyyzone.TAB_COMM_DISCOVERY_QAHISTORY,xyyzone.TAB_COMM_DISCOVERY_VOTEHISTORY,xyyzone.TAB_COMM_DISCOVERY_CONSUMER,xyyzone.TAB_COMM_DISCOVERY_SHOPPING network_link=dblink2_112_107 version=10.2.0.3
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358

----- PL/SQL Call Stack -----
object line object
 handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x15b980c98 2 anonymous block

Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.56 MB
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLE_DATA:"XYYZONE"."TAB_COMM_POINTS_HISTORY":"YMAX"]
ORA-00920: invalid relational operator
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1891
ORA-06512: at "SYS.DBMS_METADATA", line 3956

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358

----- PL/SQL Call Stack -----
object line object
 handle number name
0x136b50808 19208 package body SYS.KUPW$WORKER
0x136b50808 8385 package body SYS.KUPW$WORKER
0x136b50808 2935 package body SYS.KUPW$WORKER
0x136b50808 9054 package body SYS.KUPW$WORKER
0x136b50808 1688 package body SYS.KUPW$WORKER
0x15b980c98 2 anonymous block

Job "SYSTEM"."SYS_EXPORT_TABLE_02" stopped due to fatal error at 04:53:25

可以看到,无论是尝试IMPDP直接导入,还是尝试利用EXPDP进行远端的导出,都会碰到ORA-39126和ORA-920错误。尝试导出时指定版本10.2.0.3,问题依旧。

检查metalink,确认是Bug 10115400。当执行NETWORK_LINK方式的导入或导出时,如果远端数据库是10.2版本,且通过TABLES参数指定了多个表,就会引发这个问题。11.2的各个版本都可能出现这个问题。Oracle计划在12.1解决这个问题。

这个错误的影响倒是不大,只不过就是麻烦一些,需要在源数据库导出对应的表,然后ftp到本地,然后通过impdp导入。


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 在Linux系统上recv返回错误,通过errno得到的错误消息为"Interrupted system call"
  • g++编译联接都通过,运行却提示"段错误",怎么回事?
  • 急!!! 怎么通过core文件,查找程序中的错误!???
  • 我是编译通过了,但是运行时却有这样的错误,怎么回事啊?
  • linux通过网上邻居访问windowsXP时记住错误密码的问题
  • 编译javac HelloWorld.java通过后生成class文件,但运行时总出现noclass错误!
  • VC++实现通过API来查看程序错误信息的方法
  • linphonec编译通过,但是运行的时候却提示很多错误......请高手看看
  • 200分!!嵌入式Linux下通过TCP访问服务器,Socket被服务器重置,错误号104??(高手请进)解决后加送100分!!!
  • 通过umask来设定系统默认权限得到的是错误的结果,这是怎么回事??
  • 下面这个程序编译后通过,运行时显示“段错误”,为什么呀,怎么改?
  • 一个简单的程序,编译可以通过但是,不出现结果,错误提示为无数个at Test.<init>(TestNonStatic.java:8),怎么回事
  • C语言创建链表错误之通过指针参数申请动态内存实例分析
  • 求助:这个程序有什么错误,虽然编译通过,但是这个地址没有连接上
  • item[i] =Float.parseFloat(name2) 编译通过 测试时却出现错误这是怎么回事,该怎么改?????
  • 编了一段很小的程序,报了一个很低级的错误(编译通过)
  • 通过一段代码纠正概念错误
  • 一个很简单的通过socket发送接受文件的程序,出现了segmentation fault错误。请各位帮忙
  • 昨晚,通过朋友的帮助,现在程序还有一点错误,急盼回答!(在线等待)
  • 通过javascript实现DIV居中,兼容各浏览器版本
  • 求助:这个程序有什么错误,虽然编译通过,但是这个地址没有连接上 iis7站长之家
  • php通过socket_bind()设置IP地址代码示例
  • 我使用.net编译通过,但是使用g++编译不能通过。总是提示我undefined reference to ~myclass()
  • 通过javascript库JQuery实现页面跳转功能代码
  • 紧急求救!能通过jdbc怎样连接sqlsever 然后通过 for xml 关键字得到xml流吗?
  • c#通过委托delegate与Dictionary实现action选择器代码举例
  • 我想我的网站屏蔽掉通过某些网站过来的访问,我想通过htaccess 文件来做,请大家帮帮我。
  • linux下通过crond实现自动执行程序
  • 如何通过INTERNET访问通过共项一条线路上网的局域网中的机器???
  • 通过docker commit命令保存对docker容器的修改
  • 为什么g++编译通过了,而gcc却编译通过不了???


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,