1. 程式人生 > >impdp 報錯ORA-31693

impdp 報錯ORA-31693

今天做impdp匯入時報錯。

Import: Release 11.2.0.4.0 - Production on Sat Dec 6 09:05:50 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."IMP_SZ_201312" successfully loaded/unloaded
Starting "SYSTEM"."IMP_SZ_201312":  system/******** directory=dump tables=SZ.SJSHQ_HF:PCONF_201312 dumpfile=SZ_201312_%U.dmp job_name=imp_sz_201312 logfile=imp_sz_201312.log content=data_only parallel=8
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "SZ"."SJSHQ_HF":"PCONF_201312" failed to load/unload and is being skipped due to error:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-00600: internal error code, arguments: [kupaxfsi_bad_granule_row_header], [5], [3588], [10240132], [0], [1], [], [],
 [], [], [], []
Job "SYSTEM"."IMP_SZ_201312" completed with 1 error(s) at Sat Dec 6 09:10:06 2014 elapsed 0 00:04:14

metalink解釋如下

Applies to:

Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.3 - Release: 11.1 to 11.2
Information in this document applies to any platform.

Symptoms

When a DataPump Worker (11g) running as a Parallel Process is attempting to perform an INSERT, the following errors may occur.

ORA-31693: Table data object "SCOTT"."TEST21" failed to load/unload and is being skipped due to error:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout

11.1+
ORA-12805: parallel query server died unexpectedly
ORA-00600: internal error code, arguments: [kupfioReqBuffer], [No buffer],[EOV], [0], [], [], [], [], [], [], [], []

11.2+

ORA-00600: internal error code, arguments: [kupaxfsi_bad_granule_row_header], [1], [9800], [10240012], [0], [115], [], [], [], [], [], []


The Call Stack may contain one of the following Oracle functions:

  • kupdcEnableTransforms
  • kupdcDisableTransforms
  • kupaxfsi

Cause

The problems arise due to Oracle function "kupaxfsi" & Parallel processing.

In version 11.1, the problem arises in conjunction with the "Transform" function, as per unpublished bug 7388681 ORA-12805: PARALLEL QUERY SERVER DIED UNEXPECTEDLY DUE TO ZERO-LENGTH GRANULE. The issue occurs for a large encrypted and/or compressed table.

In version 11.2 it appears to be a new issue, where a new bug needs to be logged with Oracle Development.

Solution

Re-run the DataPump import with PARALLEL=1

If using version 11.1, please log a new Service Request and request a One-Off Backport for bug 7388681 to your version and platform. As per Note 742060.1 Release Schedule of Current Database Releases you will need to have purchased Extended Support.

If using version 11.2, please log a new Service Request with the files necessary to reproduce the issue.

References

對於11gR1來說,這是個oracle已知的bug,而11gR2還不清楚原因。