在執(zhí)行 impdp 命令時(shí),需要指定 directory 參數(shù)、 dumpfile 參數(shù)(詳情見 expdp 導(dǎo)出筆記)。將由 EXPDP 導(dǎo)出的文件放到 directory 目錄中,再進(jìn)行導(dǎo)入。
成都創(chuàng)新互聯(lián)科技有限公司專業(yè)互聯(lián)網(wǎng)基礎(chǔ)服務(wù)商,為您提供成都多線機(jī)房,高防服務(wù)器,成都IDC機(jī)房托管,成都主機(jī)托管等互聯(lián)網(wǎng)服務(wù)。
( 1 )導(dǎo)入之前創(chuàng)建的 scott 用戶表
$ impdp scott/tiger directory=dump_file_dir dumpfile=scott_tables.dmp nologfile=y
( 2 )將 scott 用戶的表導(dǎo)入到 test 用戶
$ impdp test/test directory=dump_file_dir dumpfile=scott_tables.dmp remap_schema=scott:test
( 3 )將 scott_tbs 表空間導(dǎo)入到 test_tbs 表空間中
$ impdp test/test directory=dump_file_dir dumpfile=scott_tables.dmp remap_schema=scott_tbs:test_tbs
DIRECTORY: 指定參數(shù)
DUMPFILE : 指定輸出文件名
LOGFILE: 指定輸出日志
PARALLEL: 并行導(dǎo)入
CONTENT : CONTENT=ALL 導(dǎo)入對(duì)象定義和數(shù)據(jù)(默認(rèn))
CONTENT=DATA_ONLY 僅導(dǎo)入數(shù)據(jù)
DONTENT=METADATA_ONLY 僅導(dǎo)入定義對(duì)象
當(dāng)前名稱:[DataPump]impdp導(dǎo)入筆記
文章起源:http://muchs.cn/article42/gdcpec.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供動(dòng)態(tài)網(wǎng)站、服務(wù)器托管、網(wǎng)站維護(hù)、建站公司、App開發(fā)、響應(yīng)式網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)