诊断:expdp导出时遇到错误ORA-31693和ORA-00922
11.2.0.1使用数据泵expdp导出时,如果使用parallel,可能会遇到
ORA-31693: Table data object "OWNER"."TABLE" failed to load/unload and is being skipped due to error: ORA-00922: missing or invalid option
不适用parallel时正常。
这是个bug。
Bug:8734963 - ORA-31693 AND ORA-922 OCCURS IN EXPDP WITH PARALLEL PARAMETER.
同样的
Bug:9243068 - EXPDP RETURNS ORA-00922: MISSING OR INVALID OPTION WHEN USING CONSISTENT=TRUE
解决办法:
1、Upgrade to 12.1 in which Bug:9243068 is fixed.
或
2、Apply patchset release 11.2.0.4 in which Bug:9243068 is fixed.
或
3、Download and apply interim Patch:9243068, if available for your platform and RDBMS release. To check for conflicting patches, please use the MOS Patch Planner Tool. If no patch is available, file a Service Request through My Oracle Support for your specific Oracle version and platform.
或
4、Do not use the PARALLEL command line option.