由于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 laterInformation in this document applies to any platform. ***Checked for relevance on 22-Jan-2016*** SYMPTOMSDataPump 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.
INCLUDE=TABLE:"IN (select name from scott.tt)"
CAUSEThe issue is caused by |