Chinaunix

标题: impdp 时sqlfile 和content参数不能放在一起使用 [打印本页]

作者: itpub.com.cn    时间: 2011-12-20 09:48
标题: impdp 时sqlfile 和content参数不能放在一起使用
放在一起报如下错误:
ORA-39005: inconsistent arguments
ORA-39208: Parameter CONTENT=METADATA_ONLY is invalid for SQL_FILE jobs.

The errors are only seen on database release 10g; the same parameters work without error on database release 11g.

Cause
-----
The cause of this problem has been identified and verified in an unpublished Bug 4378917 'CONTENT=METADATA AND SQLFILE ARE INCOMPATIBLE FOR IMPDP.'

To resolve this issue, you may choose either of these options:
     1. Upgrade to database release 11g.
     2. Use the workaround on database release 10g:
         Drop the CONTENT parameter when the SQLFILE parameter is used since SQLFILE addresses only metadata by design.

 example:
impdp scott/tiger directory=dump_dir dumpfile=scott.dmp sqlfile=ddl.sql





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2