oracle expdp数据泵来导出数据
一,创建逻辑目录:
SQL> sqlplus / as sysdba
SQL> create or replace directory expdp as 'd:\dump';
二. 导出schema: sdeclone和forest的数据
C:\Users\Administrator>expdp yourusername/password directory=expdp dumpfile=forestsdclon
e_expdp_20180809.dmp logfile=forestsdclone_expdp_20180809.log schemas=sdeclone,f
orest
过程截图:
补充: 如果导出的时候要排除一些数据量比较大的临时表。日志表的,可以使用exclude来排除:
C:\Users\Administrator>expdp forest/forest directory=expdp dumpfile=forestsdclon
e_expdp_20180810.dmp logfile=forestsdclone_expdp_20180810.log schemas=sdeclone,f
orest exclude=table:\"in (\'SYS_LOG\')\"