Oracle expdp impdp 表结构迁移

来源:互联网 发布:魔兽争霸3 mac破解版 编辑:程序博客网 时间:2024/05/19 04:04
expdp system/manager@db1 directory=dir_dump dumpfile=expdp.dmp schemas=hruser content=metadata_only full=yimpdp system/manager@db2 directory=dir_dump logfile=local.impdp.log dumpfile=expdp.dmp


expdp 和 impdp 都需要在db1/db2各自的服务端操作。

操作签,在oracle中创建direcotry dir_dump,并确保Linux导入用户对Linux 目录的读写权限。


create directory dir_dump as '/wls/oracle/dump'; grant read,write on directory dir_dump to zhangsan;


0 0
原创粉丝点击