impdp and optimizer_mode rule
星期五, 三月 12th, 2010因为和应用有关,公司的工具一直用imp exp ,最近在客户那是用impdp导入数据的时候,无法导入,报如下错:
Impdp fails with the following errors:
UDI-00008: operation generated ORACLE error 31626
ORA-31626: job does not exist
ORA-06512: at "SYS.KUPC$QUE_INT", line 536
ORA-25254: time-out in LISTEN while waiting for a message
一开始怀疑,主表的问题,但是删除重新导入还是不行,最后确认是和数据库的优化模式有关,因为我们的应用,数据库的优化模式为RULE,改为除RULE其他模式后,导入正常,文档: 577562.1有描述:
In a RAC database a full Data Pump export fails with:
ORA-39097: Data Pump job encountered unexpected error -1422
ORA-39065: unexpected master process exception in DISPATCH
ORA-01422: exact fetch returns more than requested number of rows
这个类似的错误也是这个原因引起的
Impdp fails with the following errors:
UDI-00008: operation generated ORACLE error 31626
ORA-31626: job does not exist
ORA-06512: at "SYS.KUPC$QUE_INT", line 536
ORA-25254: time-out in LISTEN while waiting for a message
一开始怀疑,主表的问题,但是删除重新导入还是不行,最后确认是和数据库的优化模式有关,因为我们的应用,数据库的优化模式为RULE,改为除RULE其他模式后,导入正常,文档: 577562.1有描述:
In a RAC database a full Data Pump export fails with:
ORA-39097: Data Pump job encountered unexpected error -1422
ORA-39065: unexpected master process exception in DISPATCH
ORA-01422: exact fetch returns more than requested number of rows
这个类似的错误也是这个原因引起的
