导出
1 | expdp 用户名/密码 directory=DMP logfile=e_T_C_CNCM_EXTINFO.log dumpfile=T_C_CNCM_EXTINFO%U.dmp PARALLEL=6 cluster=no compression=ALL tables=(table1,table2) |
导入
1 | impdp 用户名/密码 directory=DMP logfile=i_T_C_APT_TEMPLATE_DETAIL.log dumpfile=T_C_APT_TEMPLATE_DETAIL%U.dmp PARALLEL=4 table_exists_action=truncate |
SELECT DIRECTORY_NAME ,DIRECTORY_PATH FROM DBA_DIRECTORIES;
/data/app/oracle/admin/orcl/dpdump/
create directory DATA_PUMP_DIR as ‘/data/dmp’;