oracle 數(shù)據(jù)泵導入導出介紹
更新時間:2012年12月03日 08:50:59 作者:
本文將介紹oracle數(shù)據(jù)泵導導出步驟詳細介紹,需要的朋友可以參考下
1、首先建立目錄:
create directory 目錄名稱 as '數(shù)據(jù)庫服務器上的一個目錄',如:
create directory 別名 as 'd:\服務器目錄名';
將導入或導出的文件放在這個目錄下
2、導出及導入
以SID=orcl,導出dmp的賬號為test,導入dmp的賬號為test為例。
若將數(shù)據(jù)從sfz中導出:
expdp test/test@orcl directory=別名 dumpfile=導出文件名
導入到test中:
impdp test/test@orcl directory=別名 dumpfile=導出文件名.dmp
導入到處用戶名不一樣時,做個映射,一樣時,不用寫
remap_schema=test:test1
create directory 目錄名稱 as '數(shù)據(jù)庫服務器上的一個目錄',如:
create directory 別名 as 'd:\服務器目錄名';
將導入或導出的文件放在這個目錄下
2、導出及導入
以SID=orcl,導出dmp的賬號為test,導入dmp的賬號為test為例。
若將數(shù)據(jù)從sfz中導出:
expdp test/test@orcl directory=別名 dumpfile=導出文件名
導入到test中:
impdp test/test@orcl directory=別名 dumpfile=導出文件名.dmp
導入到處用戶名不一樣時,做個映射,一樣時,不用寫
remap_schema=test:test1

