简体   繁体   中英

How to Load Data from Oracle Crash Dump File to Oracle Database?

我尝试了以下方法

impdp SYSTEM/ABCD DIRECTORY=E:\OracleDM\dumpFile DUMPFILE=dump_Student.DMP  LOGFILE=dump_Student_imp.log

DIRECTORY is not a real filesystem path to the DMP file - it is an Oracle object. You should create it as SYS , grant privileges to user that is going to use it, and then actually use that directory.

For example:

SQL> show user
USER is "SYS"
SQL> create directory my_dir as 'c:\temp';

Directory created.

SQL> grant read, write on directory my_dir to hr;

Grant succeeded.

At the operating system command prompt:

impdp hr/hr@xe directory=my_dir dumpfile=...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM