PL/SQL developer import dump

Mikayil Abdullayev picture Mikayil Abdullayev · May 28, 2011 · Viewed 26k times · Source

I have a dump file which includes two tables. Now I need to import this dump file. I was instructed to create two tablespaces beforehands.Now how do I import this dump file to these tablespaces. I'm using PL/SQL developer.

Answer

Codo picture Codo · May 28, 2011

You cannot import a dump file from PL/SQL developer. Instead, you have to do it from the command line. Furthermore, you need access to the file system of the database server since you have to put the dump file in a directory directly accessible by Oracle.

The tool to import the dump file is called impdp (in earlier version, it was imp).

My experience is that you need information how the dump file was created so you can use the correct import mode:

  • Is it a dump of the full database or just a single user/schema?
  • Does it include the table schema or just the table data?
  • What's the schema/user name if a single schema was exported?
  • etc.

You'll find more information about impdp on this PSOUG web page.