Impdp
1, 创建用户
Create user smc identified by PASSWORD
Grant dba to smc
2, 创建目录
Create directory dump_dir as ‘/oracle/dump’
3, 赋予读写权限
Grant read,write on directory dump_dir to USERNAME
4, 开始导入
impdp smc/smc@bringbk dumpfile=SMC.DMP directory=dump_dir remap_tablespace=SOMC_DATA:SMC remap_tablespace=SOMC:SMC
remap_tablespace用于转换表空间,可以设置多个
格式:remap_tablespace=oldTBS:newTBS
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14293419/viewspace-619810/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14293419/viewspace-619810/