Pavan DBA's Blog

The DBA Knowledge Store

How to resolve UDE-00008 and ORA-31626 during expdp?

Posted by Pavan DBA on April 23, 2012


Friends, want to share some interesting bug that I faced in datapump concept.

Recently when I am taking export backup of a database using expdp with full=y option, I got below error
UDE-00008: operation generated ORACLE error 31626
ORA-31626: job does not exist
ORA-39086: cannot retrieve job information
ORA-06512: at “SYS.DBMS_DATAPUMP”, line 2772
ORA-06512: at “SYS.DBMS_DATAPUMP”, line 3886
ORA-06512: at line 1
I thought there is some issue and searched over “My Oracle Support” and found it is a bug 5969934 that can occur from any version starting from 10.2.0.2 till 11.2.0.3

Reason for the same is as follows

The expdp client makes calls to DBMS_DATAPUMP package to start and monitor export job. Once the export job is underway, the client just monitors the job status by issuing DBMS_DATAPUMP.GET_STAUS. Therefore, if the export logfile says “job successfully completed”, the dump file generated by the job should be fine.

You can simply ignore the errors, since the dump file is still valid for an import.

In the 10.2.0.2 release, there were a number of problems that caused the expdp and impdp clients to exit prematurely, interpreting a nonfatal error as a fatal one, giving the appearance that the job had failed when it hadn’t. In fact, inspection of the log file, if one was specified for the job, showed that the job ran successfully to completion. Often a trace file written by one of the Data Pump processes would provide more detail on the error that had been misinterpreted as a fatal one. Many of these errors involved the queues used for communication between the Data Pump processes, but there were other issues as well.
.
With each subsequent release, these problems have been addressed, and the client has become more robust and rarely, if ever, runs into situations like this. However, this is the result of many bug fixes in subsequent releases, some in Data Pump and some in supporting layers. It’s impossible to know, at this point, what combination of bug fixes would address this specific failure, and even if that was possible, it wouldn’t address other possible failures that look very similar on the client side.
.
Relying on information in the log file is one way to verify that the job actually completed successfully. Problems like this one became much more intermittent by the 10.2.0.4 release and are rarely, if ever, seen in 11.1 or later.
So, as per the above comments, I checked my logfile and found that job is successful (below is output of last lines in logfile)
Master table “SYS”.”SYS_EXPORT_FULL_01″ successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_FULL_01 is:
  /dbexports/fullexp_21apr2012_01.dmp
  /dbexports/fullexp_21apr2012_02.dmp
  /dbexports/fullexp_21apr2012_03.dmp
  /dbexports/fullexp_21apr2012_04.dmp
  /dbexports/fullexp_21apr2012_05.dmp
  /dbexports/fullexp_21apr2012_06.dmp
  /dbexports/fullexp_21apr2012_07.dmp
  /dbexports/fullexp_21apr2012_08.dmp
Job “SYS”.”SYS_EXPORT_FULL_01″ successfully completed at 18:23:21

 

Any time if you face this error, please don’t panic now and check your logfile immediately 🙂

Hope this helps and HAPPY LEARNING !!!

Advertisements

6 Responses to “How to resolve UDE-00008 and ORA-31626 during expdp?”

  1. kiran said

    Hey sir,

    I need a complete notes on DB links and materialized views,i found it in the google but the links are not giving correct information.please provide me sir.

  2. kiran said

    Thank Q sir,
    Good information for me.

  3. Rajesh Darla said

    Good one 🙂 Encountered this error few times. Very useful notes..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: