AlderPump

Version 2.3 is available

Covers all Oracle 11g/R2 features such as editions, support for RAC, new data option, and so on.

The version comes with improved Command Line panel and a number of less major enhancements scattered all other the place.

Importing tables which do not yet exist in target schema

Download job definition

In the previous tutorial we've exported two tables EMP and DEPT from schema SCOTT. We could do that to copy them to another database, or for backup purposes. Now, let's see how these tables can be restored. In this scenario we assume tables do not exist; next tutorial shows how to deal with the case when they do.

So, go ahead and drop EMP and DEPT from schema SCOTT:

  DROP TABLE scott.emp;
  DROP TABLE scott.dept;

Prerequisites:
  1. SCOTT schema without tables EMP and DEPT
  2. scott_tables.dmp created on export step and located in DATA_PUMP_DIR
Demonstrated actions:
  1. Job Creation Wizard: Setting operation and mode, specifying dump file, submitting job.
  2. Main window: Job creation, job launching, progress log, job completion.

Tips:

We are importing tables, hence operation would be IMPORT and mode would be TABLE.
Selecting operation IMPORT and mode TABLES on Operations And Mode tab

Step 2/3: Specifying input file

Import needs dump file containing the data, we type name of the file created in previous chapter. The file resides in directory to which it has been exported: DATA_PUMP_DIR. Since object type was already set to "Dump file", we don't need to change it. We could specify log file, but since our operation is ad-hoc and AlderPump displays same messages as log file would contain, we don't. All parameter were set, and we proceed straight to job creation by clicking "Create".
Specifying scott_tables.dmp as intput file

Step 3/3: Running import

As usual, newly created job resides in DEFINING state until launched. We start the job and monitor messages displayed in log window. Again, they are the same messages impdp would print. Even though we launched the job as SYSTEM, tables are imported into their schema of origin: SCOTT. Import also creates constraints, triggers, and indexes if they are present in the export file.
Creating and launching job. The job successfully completes.