impdp and optimizer_mode rule

因为和应用有关,公司的工具一直用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
这个类似的错误也是这个原因引起的



5 条评论

  • At 2010.03.15 12:43, Kamus said:

    在你们的应用中Oracle10g数据库的optimizer_mode参数仍然设置为RULE?

    • At 2010.03.15 21:16, 匿名 said:

      是的,目前还是这个模式,一是稳定,二是应用特点,三是客户维护能力一般比较差。

    • At 2010.04.27 22:10, xc said:

      though Oracle say it’s not a bug,but it’s be the case by chance.we got no error in the same environment.

      • At 2010.05.21 17:02, NinGoo said:

        又是一年了,Dreamhost收房租的来了^_^

        • At 2010.06.29 11:38, will said:

          样式不兼容Firefox

          (Required)
          (Required, will not be published)