Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[Data Pump] impdp import notes

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1.IMPDP import mode

When executing the impdp command, you need to specify the directory parameter and the dumpfile parameter (see expdp export notes for details). Put the files exported by EXPDP into the directory directory and import them.

two。 Import an example

(1) Import the previously created scott user table

$impdp scott/tiger directory=dump_file_dir dumpfile=scott_tables.dmp nologfile=y

(2) Import scott user's table to test user

$impdp test/test directory=dump_file_dir dumpfile=scott_tables.dmp remap_schema=scott:test

(3) Import scott_tbs tablespace into test_tbs tablespace

$impdp test/test directory=dump_file_dir dumpfile=scott_tables.dmp remap_schema=scott_tbs:test_tbs

3. Important parameters

DIRECTORY: specify parameter

DUMPFILE: specify the output file name

LOGFILE: specify output log

PARALLEL: parallel import

CONTENT: CONTENT=ALL imports object definitions and data (default)

CONTENT=DATA_ONLY imports data only

DONTENT=METADATA_ONLY imports only definition objects

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report