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\')\"

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章