Oracle使用par文件进行全库导入导出
imp system/manager@CFP00_CPZBZHCX PARFILE=e:/dbbackup/imp_full_cfp10/imp_full.par imp_full.par的内容是 filesize=0 BUFFER=81920 COMMIT=y IGNORE=y fromuser=(CP,CP00,CP01,CP02,CP03,CP04,CP05,CP06,CP07,CP08,CP09,CP10,CP11,CP12,CP13, CP14,CP15,
imp system/manager@CFP00_CPZBZHCX PARFILE=e:/dbbackup/imp_full_cfp10/imp_full.par
imp_full.par的内容是
filesize=0
BUFFER=81920
COMMIT=y
IGNORE=y
fromuser=(CP,CP00,CP01,CP02,CP03,CP04,CP05,CP06,CP07,CP08,CP09,CP10,CP11,CP12,CP13,
CP14,CP15,CP16,CP17,CP19,CP20,CP80,CP51,CP52,CP53,CP54,CP55,CP56,CP50,CPZB)
touser=(CP,CP00,CP01,CP02,CP03,CP04,CP05,CP06,CP07,CP08,CP09,CP10,CP11,CP12,CP13,CP14,
CP15,CP16,CP17,CP19,CP20,CP80,CP51,CP52,CP53,CP54,CP55,CP56,CP50,CPZB)
file=(e:/dbbackup/exp_cpzb01.dmp,e:/dbbackup/exp_cpzb02.dmp,e:/dbbackup/exp_cpzb03.dmp,
e:/dbbackup/exp_cpzb04.dmp,e:/dbbackup/exp_cpzb05.dmp,e:/dbbackup/exp_cpzb06.dmp,
e:/dbbackup/exp_cpzb07.dmp,e:/dbbackup/exp_cpzb08.dmp,e:/dbbackup/exp_cpzb09.dmp,
e:/dbbackup/exp_cpzb10.dmp)
log=e:/dbbackup/imp_full_cfp10/imp_full.log
http://blog.csdn.net/inthirties/archive/2009/07/03/4318323.aspx
导出命令:exp parfile=exp_parfile.par
exp_parfile.par文件内容
userid=system/pass@dbsid
direct=y
compress=n
log=exp_pausersz.log
recordlength=65535
filesize=4096m
file=(
expsz01.dmp,expsz02.dmp,expsz03.dmp,expsz04.dmp,expsz05.dmp,expsz06.dmp,expsz07.dmp,expsz08.dmp,expsz09.dmp,expsz10.dmp
)
owner=(
SCOTT,HR,.....)
上一篇: MySQL连接字符串中的几个重要步骤