0

我正在从 Oracle 11g 运行导出:

$ expdp system/ELIDED JOB_NAME=exp_BTM2CATS SCHEMAS=BTM2CATS file=btm2cats-%u.dmp DIRECTORY=DP_DIR filesize=1900M CONSISTENT=Y DIRECT=Y

Export: Release 11.2.0.1.0 - Production on Wed Jul 31 22:44:29 2013

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
Legacy Mode Active due to the following parameters:
Legacy Mode Parameter: "consistent=TRUE" Location: Command Line, Replaced with: "flashback_time=TO_TIMESTAMP('2013-07-31 22:44:29', 'YYYY-MM-DD HH24:MI:SS')"
Legacy Mode Parameter: "direct=TRUE" Location: Command Line, ignored.
Legacy Mode Parameter: "file=btm2cats-110.dmp" Location: Command Line, Replaced with: "dumpfile=btm2cats-2.dmp"
Legacy Mode has set reuse_dumpfiles=true parameter.

...并得到一个错误:

...
ORA-31693: Table data object "BTM2CATS"."APM_PACKAGE_VERSIONS" failed to load/unload and is being skipped due to error:
ORA-00922: missing or invalid option
...

我看到的所有其他 ORA-00922 错误都是在调用“CREATE TABLE”或相关的“ALTER”时出现的。此错误似乎不适合在正确调用的expdp调用过程中发生。谁能解释这个错误在这种情况下的含义以及我可以做些什么来尝试修复它?

4

1 回答 1

1
  1. 将 CONSISTENT=Y 更改为 flashback_time=systimestamp。
  2. 删除 DIRECT=Y(你可以认为 expdp 总是使用直接路径,只要可能)。
  3. 将 FILE= 参数更改为 DUMPFILE= 参数。

所以你不会使用传统模式。看看这是否解决了 ORA-922 问题。

于 2015-01-09T23:24:11.820 回答