//首先创建文件夹,把对应DMP文件放入到创建好的文件夹中,
创建逻辑目录 create directory DATA_DIR as 'D:\DATA_DIR';
查看目录列表 select * from dba_directories; 用sys管理员给指定用户赋予在该目录的操作权限 grant read,write on directory DATA_DIR to wms; expdp fa2019/fa2019@orcl dumpfile=qkj20191126.dmp directory=DATA_DIR_1 schemas=fa2019 logfile=expdp.log;
DOS窗口中导入DMP文件 impdp ebill/EBILL@omcsdt directory=DATA_DIR dumpfile=tables20200512-1.dmp logfile=20200512ebill.log remap_schema=ebill:ebill remap_tablespace=ebill:USERS ignore=y impdp user/123456@orcl directory=data_dir dumpfile=expdp.dmp impdp lsgxh/lsgxh@OMCSDT directory=data_dir dumpfile=FULL.DMP
在此之前,尝试过直接使用navicat、plsql直接导入数据泵,但效果不佳,最后只能尝试使用sql语句进行导入