impdp?

pnv
Дата: 27.11.2009 09:26:27
Oracle Database 10g Полный справочник Кевин Луни говорит, что
Утилита Data Pump может использовать файлы которые были сгенерированы утилитой Export.
Почему тогда?
-bash-3.00$ impdp  PARFILE=/tmp/dump_exp/dp7.par

Import: Release 10.2.0.1.0 - Production on Friday, 27 November, 2009 9:35:36

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39143: dump file "/oratmp/expfullITDC.dmp" may be an original export dump file
Файл параметров для impdp
-bash-3.00$ cat /tmp/dump_exp/dp7.par
DIRECTORY=dump_exp_n
DUMPFILE=expfullITDC.dmp
FULL=y
CONTENT=ALL
Файл параметров для exp
USERID='sys/password AS SYSDBA'
FILE=/archgvc1/ITDC/expfullITDC.dmp
LOG=/archgvc1/ITDC/expfull_itdc.log
FULL=Y
Вячеслав Любомудров
Дата: 27.11.2009 09:31:51
Врет (а может ошибка перевода, надо сверить с оригиналом)
Вообще, сведения в таких книгах всегда нужно проверять
Oracle® Database Utilities
10g Release 2 (10.2)
1 Overview of Oracle Data Pump
The new Data Pump Export and Import utilities (invoked with the expdp and impdp commands, respectively) have a similar look and feel to the original Export (exp) and Import (imp) utilities, but they are completely separate. Dump files generated by the new Data Pump Export utility are not compatible with dump files generated by the original Export utility. Therefore, files generated by the original Export (exp) utility cannot be imported with the Data Pump Import (impdp) utility.
pnv
Дата: 27.11.2009 09:46:27
Спасибо!
Вот и верь ...
В книге эти строки даже выделены(Том 1,стр 435)
-2-
Дата: 27.11.2009 10:13:52
pnv,

Может имелся ввиду файл параметров. В 11.2 заявлен Legacy Mode, может он и в 10ке работал?
Вячеслав Любомудров
Дата: 27.11.2009 10:26:55
Да нет, там написано однозначно
Утилита Data Pump может использовать файлы, которые были сгенерированы утилитой Export, но утилита Import не может использовать файлы, сгенерированные Data Pump Export

И legacy таки только в 11.2 заявлен
-2-
Дата: 27.11.2009 10:31:16
Вячеслав Любомудров,

impdp
ORA-39143: dump file "/oratmp/expfullITDC.dmp" may be an original export dump file
Таки она его может использовать, чтобы определить, что он "original"!