expdp and impdp

 Table export:

filename.par

content:

userid=sys/password@<service_name>

directory=<directory_name>

dumpfile=<filename>%U.dmp

logfile=<filename>.log

tables=<schema_name>.<table_name>,<schema_name>.<table_name>

exclude=statistics

parallel=4


Execution:

nohup expdp parfile=<location>/filename.par &

OR

nohup expdp \"/ as sysdba\" directory=<directory_name>  dumpfile=<filename>%U.dmp  logfile=<filename>.log  tables=<schema_name>.<table_name>,<schema_name>.<table_name> exclude=statistics parallel=4 &


Table Import:


filename.par

content

directory=<directory_name>

dumpfile=<filename>%U.dmp

logfile=<filename>.log

remap_schema=<old_schema>:<new_schema>

remap_table=<old_table>:<new_table>,<old_table>:<new_table>

remap_tablespace=<old_tablespace>:<new_tablespace>

remap_tablespace=<old_tablespace>:<new_tablespace>


Execution:

nohup impdp \"/ as sysdba\" parfile=<location>/filename.par &

Comments

Popular Posts

AWR Report Analysis

Goldengate 19c Installation with issue resolution

Oracle 11g Physical Standy Setup

Oracle 12c 2-node RAC setup in VMware Player 15 -- Part01

Oracle to Postgres

Execution_Explain Plan

Active Session History Analysis

General Queries

Fragmentation & Re-organisation

OEM patches & vulnerabilities