Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to determine the Schemas inside an Oracle Data Pump Export file
    primarykey
    data
    text
    <ul> <li>I have a Oracle database backup file (.dmp) that was created with expdp.</li> <li>The .dmp file was an export of an entire database.</li> <li>I need to restore 1 of the schemas from within this dump file.</li> <li>I dont know the names of the schemas inside this dump file.</li> <li>To use impdp to import the data i need the name of the schema to load.</li> </ul> <p>So, I need to inspect the .dmp file and list all of the schemas in it, how do i do that?</p> <hr> <p><em>Update (2008-09-18 13:02) - More detailed information:</em></p> <p>The impdp command i'm current using is:</p> <pre><code>impdp user/password@database directory=DPUMP_DIR dumpfile=EXPORT.DMP logfile=IMPORT.LOG </code></pre> <p>And the DPUMP_DIR is correctly configured. </p> <pre><code>SQL&gt; SELECT directory_path 2 FROM dba_directories 3 WHERE directory_name = 'DPUMP_DIR'; DIRECTORY_PATH ------------------------- D:\directory_path\dpump_dir\ </code></pre> <p>And yes, the EXPORT.DMP file is infact in that folder. </p> <p>The error message I get when I run the impdp command is:</p> <pre><code>Connected to: Oracle Database 10g Enterprise Edition ... ORA-31655: no data or metadata objects selected for job ORA-39154: Objects from foreign schemas have been removed from import </code></pre> <p>This error message is mostly expected. I need the impdp command be:</p> <pre><code>impdp user/password@database directory=DPUMP_DIR dumpfile=EXPORT.DMP SCHEMAS=SOURCE_SCHEMA REMAP_SCHEMA=SOURCE_SCHEMA:MY_SCHEMA </code></pre> <p>But to do that, I need the source schema.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload