Vous êtes sur la page 1sur 2

Data Pump Technology

----------------------------
Data Pump technology is 10 times faster than normal
export (exp) and import (imp)
Normal exp/imp Data Pump Technology
---------------- --------------------
exp expdp
imp impdp
file dumpfile
log logfile
owner=username schemas=username
fromuser=username touser=username remap_schema=username:
username
For BASIC, ADVANCED and DBCA installations Data Pump
technology is configured automatically.
For Manual database creation we have to configure the
system for data pump technology.
How to configure the system for data pump technology?
step 1: Shutdown an oracle instance
sql>shut immediate;
sql>host <enter>
$
Step 2: Open the parameter file which is located at
$ORACLE_HOME/dbs directory
$cd $ORACLE_HOME/dbs
dbs]$vi initprd.ora
-----------------------------------------------------------
#Add the following database parameter
streams_pool_size=100m
:wq
----------------------------------------------------------
Step 3: Start an oracle instance in the open stage
dbs]$sqlplus '/as sysdba'
sql>startup;
Step 4: Create dpump directory logically under /home/prd
directory
sql>create directory dpump as '/home/prd/dpump';
Step 5: Create dpump directory physically under /home/prd
directory and grant full permissions
sql>host <enter>
$cd /home/prd
prd]$mkdir dpump
prd]$chmod -R 777 /home/prd/dpump
How to perform full database backup using data pump technology?
$expdp userid/password dumpfile=filename.dmp logfile=filename.log directory=dpum
p full=y
How to import full database backup using data pump technology?
$impdp userid/password dumpfile=filename.dmp logfile=filename.log directory=dpum
p full=y
How to perform user level backup using data pump technology?
$expdp userid/password dumpfile=filename.dmp logfile=filename.log directory=dpum
p schemas=username
How to import full database backup using data pump technology?
$impdp userid/password dumpfile=filename.dmp logfile=filename.log directory=dpum
p remap_schema=
username:username
How to perform table level backup using data pump technology?
$expdp userid/password dumpfile=filename.dmp logfile=filename.log directory=dpum
p tables=username.
tablename1,username.tablename2,..........
How to import table level backup using data pump technology?
$impdp userid/password dumpfile=filename.dmp logfile=filename.log directory=dpum
p remap_schema=
username:username tables=tablename1,tablename2,....

Vous aimerez peut-être aussi