0% found this document useful (0 votes)
255 views10 pages

Exporting Schema To DMP File and Importing It Into Other Oracle Database

The document outlines the steps to export an Oracle database schema to a .dmp file and import it into another Oracle database. The steps are: 1) connect as sysdba to the source database, 2) find the DATA_PUMP_DIR location, 3) export the schema to a .dmp file, 4) copy the .dmp file to the target database's DATA_PUMP_DIR, 5) connect to the target database, and 6) import the schema from the .dmp file.

Uploaded by

RAVI KUMAR LANKE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
255 views10 pages

Exporting Schema To DMP File and Importing It Into Other Oracle Database

The document outlines the steps to export an Oracle database schema to a .dmp file and import it into another Oracle database. The steps are: 1) connect as sysdba to the source database, 2) find the DATA_PUMP_DIR location, 3) export the schema to a .dmp file, 4) copy the .dmp file to the target database's DATA_PUMP_DIR, 5) connect to the target database, and 6) import the schema from the .dmp file.

Uploaded by

RAVI KUMAR LANKE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

EXPORTING SCHEMA TO DMP FILE AND IMPORTING IT INTO

OTHER ORACLE DATABASE

Steps:
1. Connect to the source database as a sydba user
2. Finding the location of the DATA_PUMP_DIR
3. Exporting the schema to .dmp file
4. Copying the dump files to target database
5. Connect to the target database
6. Importing .dmp file.

Connect to the source database as a sydba user :


Open command prompt and navigate to %ORACLE_HOME/bin

Finding the location of the DATA_PUMP_DIR :


Issue " select * from dba_directories; " to find the location of the 'DATA_PUMP_DIR'

Here the directory path is C:\app\biapps/admin/orcl/dpdump/


exit from sql prompt

Exporting the schema to .dmp file :


Now export the schema you want to .dmp file as below

Here the exported file is SCOTT.DMP

Copying the dump files to target database :


Connect to target database
Find the DATA_PUMP_DIR path
Copy the exported dmp to target DATA_PUMP_DIR path

Here DATA_PUMP_DIR path is /home/oracle/app/oracle/admin/orcl/dpdump/


Copy scott.dmp to this path

Importing .dmp file :

You might also like