ORA-39097:Data Pump job encountered unexpected error 06502

      由于1套数据库迁移(10g双机到11g rac上)使用数据泵导入导出时出现坏块。

这是一个分区表,10231事件等跳不过坏块,坏块在表上,并且有多处。将分区表的所有分区取出,创建一个parfile(aa.par)

内容就是:

              tables=table:pxxxxa,table:pxxxxb,....

然后导出expdp user/password  dumpfile=xxxx  log=xxx.log  directory=XXX parfile=aa.par

除了个别分区出错,大部分都成功导出。

        然而导入,

             impdp user/password  dumpfile=xxxx  log=xxx.log  directory=XXX parfile=aa.par

报错:

        ORA-39006:internal error

        ORA-39065:unexpected master process exception in DISPATCH

        ORA-06502 : PL/SQL: numeric or value error


         ORA-39097: Data Pump job encountered unexpected error 06502

查询官网原因是我parfile里tables参数涉及的个数太多。核对mos上的影响范围是11g,mos诚不欺我。当然我也没有打这个补丁,把parfile这个参数去掉了。如果表很多的话可以按schema导入。


APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Jan-2016***

SYMPTOMS

DataPump export (expdp) errors out with:

ORA-39097: Data Pump job encountered unexpected error -6502ORA-39065: unexpected master process exception in DISPATCHORA-06502: PL/SQL: numeric or value error

when the parameter TABLES=table1,table2... is larger than 32K.

The fix for Bug 11655916 was installed but the errors are still raised.

Expdp succeeds, if the table name is included with below format:

INCLUDE=TABLE:"IN (select name from scott.tt)"

 

CAUSE

The issue is caused by 
Bug 10647999 - TABLES PARAMETER LIMITED FOR EXPDP/IMPDP 

The bug can be encountered when using datapump to export/import with TABLES parameter and have the size of the provided tables list string value larger than 32K.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值