您好,登錄后才能下訂單哦!
在執(zhí)行 impdp 命令時,需要指定 directory 參數(shù)、 dumpfile 參數(shù)(詳情見 expdp 導出筆記)。將由 EXPDP 導出的文件放到 directory 目錄中,再進行導入。
( 1 )導入之前創(chuàng)建的 scott 用戶表
$ impdp scott/tiger directory=dump_file_dir dumpfile=scott_tables.dmp nologfile=y
( 2 )將 scott 用戶的表導入到 test 用戶
$ impdp test/test directory=dump_file_dir dumpfile=scott_tables.dmp remap_schema=scott:test
( 3 )將 scott_tbs 表空間導入到 test_tbs 表空間中
$ impdp test/test directory=dump_file_dir dumpfile=scott_tables.dmp remap_schema=scott_tbs:test_tbs
DIRECTORY: 指定參數(shù)
DUMPFILE : 指定輸出文件名
LOGFILE: 指定輸出日志
PARALLEL: 并行導入
CONTENT : CONTENT=ALL 導入對象定義和數(shù)據(jù)(默認)
CONTENT=DATA_ONLY 僅導入數(shù)據(jù)
DONTENT=METADATA_ONLY 僅導入定義對象
免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經查實,將立刻刪除涉嫌侵權內容。