[Data Pump]impdp导入笔记

1.IMPDP导入方式

在执行 impdp 命令时,需要指定 directory 参数、 dumpfile 参数(详情见 expdp 导出笔记)。将由 EXPDP 导出的文件放到 directory 目录中,再进行导入。

2.导入举例

      1 )导入之前创建的 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.重要参数

      DIRECTORY:     指定参数

      DUMPFILE     指定输出文件名

      LOGFILE:         指定输出日志

      PARALLEL:       并行导入

CONTENT CONTENT=ALL 导入对象定义和数据(默认)

                      CONTENT=DATA_ONLY 仅导入数据

                      DONTENT=METADATA_ONLY 仅导入定义对象

      


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31529886/viewspace-2220639/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/31529886/viewspace-2220639/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值