impdp での ORA-29913: ODCIEXTTABLEOPEN コールアウト実行エラーの解決

エクスポートプロセスとログ


Export: Release 11.2.0.3.0 - Production on Thu Jan 21 11:13:33 2016

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_02":  system/******** tables=sample.sample_data 
dumpfile=sample_export.dmp logfile=sample_export.log 
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 19.85 GB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "SAMPLE"."SAMPLE_DATA"            17.59 GB 105862326 rows
Master table "SYSTEM"."SYS_EXPORT_TABLE_02" successfully loaded/unloaded
******************************************************************************
Dump file set for SYSTEM.SYS_EXPORT_TABLE_02 is:
  /u01/app/oracle/11.2.0/db_1/rdbms/log/SAMPLE_EXPORT.dmp
Job "SYSTEM"."SYS_EXPORT_TABLE_02" successfully completed at 11:21:26

インポート時のエラー発生


impdp \"sys/oracle as sysdba \" directory=dpdump_dir DUMPFILE=SAMPLE_EXPORT.dmp logfile=impdp.log PARALLEL=5

Import: Release 11.2.0.1.0 - Production on Monday Feb 1 10:14:51 2016

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_FULL_01":  "sys/******** AS SYSDBA" directory=dpdump_dir DUMPFILE=SAMPLE_EXPORT.dmp logfile=impdp.log PARALLEL=5
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "SAMPLE"."SAMPLE_DATA" failed to load/unload and was skipped, error follows:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SYS"."SYS_IMPORT_FULL_01" completed with 1 error(s) at 10:14:53

バージョン互換性の調査

エクスポート側のバージョン(11.2.0.3.0)がインポート側(11.2.0.1.0)より新しいため、バージョン互換性の問題を疑いましたが、expdp/impdpではVERSIONパラメータを使用して異なるバージョン間でのデータ転送が可能です。両方とも11.2.0.x系であるため、基本的な互換性には問題ありません。

並列処理パラメータの問題と解決

調査の結果、PARALLELパラメータが問題の原因であることが判明しました。並列処理を無効にして再度インポートを実行します:


impdp \"sys/oracle as sysdba \" directory=dpdump_dir DUMPFILE=SAMPLE_EXPORT.dmp logfile=impdp.log

この変更により、インポート処理が正常に完了しました。ただし、同じダンプファイルを11.2.0.4.0環境でインポートする場合にはPARALLELパラメータが問題なく動作することから、この問題は特定のマイナーバージョン間での互換性に関連している可能性があります。

タグ: Oracle DataPump impdp ORA-29913 ODCIEXTTABLEOPEN

6月14日 21:36 投稿