溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

[Data Pump]impdp導入筆記

發(fā)布時間:2020-08-17 19:06:53 來源:ITPUB博客 閱讀:147 作者:恩強Boy 欄目:關系型數(shù)據(jù)庫

1.IMPDP導入方式

在執(zhí)行 impdp 命令時,需要指定 directory 參數(shù)、 dumpfile 參數(shù)(詳情見 expdp 導出筆記)。將由 EXPDP 導出的文件放到 directory 目錄中,再進行導入。

2.導入舉例

      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

3.重要參數(shù)

      DIRECTORY:     指定參數(shù)

      DUMPFILE     指定輸出文件名

      LOGFILE:         指定輸出日志

      PARALLEL:       并行導入

CONTENT CONTENT=ALL 導入對象定義和數(shù)據(jù)(默認)

                      CONTENT=DATA_ONLY 僅導入數(shù)據(jù)

                      DONTENT=METADATA_ONLY 僅導入定義對象

      


向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經查實,將立刻刪除涉嫌侵權內容。

AI