+ -
当前位置:首页 → 问答吧 → 10g exp/imp

10g exp/imp

时间:2011-09-06

来源:互联网

10g中 我想把user leo的所有對象exp出來,再imp 到user leo1中,對應的tablespace也改掉。(exp出來的文件大小只有20k,imp的時候介面一直卡在那裏)

leo  對應的表空間是 test1
leo1 對應的表空間是test4

作者: hythuyateng   发布时间: 2011-09-06

Exp:exp leo/pwd file=file.dmp owner=leo log=exp.log
Imp:imp leo1/pwd file=file.dmp fromuser=leo touser=leo1 tablespaces=test4 full=y log=imp.log

作者: icybeta   发布时间: 2011-09-06

tablespace 沒有更改 還是test1

作者: hythuyateng   发布时间: 2011-09-06

IMP好像不能改变表空间,使用expdp和impdp可以通过remap_tablespace参数改变导入时候的表空间

作者: deepshrift   发布时间: 2011-09-06

热门下载

更多