【ORACLE】impd expd的几个例子

本文通过具体实例详细介绍了Oracle数据库中使用expdp和impdp工具进行数据导出与导入的操作过程,包括基本用法、参数设置以及常见应用场景。
摘要由CSDN通过智能技术生成

**********************************************

** 原文: blog.csdn.net/clark_xu  徐长亮专栏

**********************************************

#按照表导出
[oracle@host2 ~]$ expdp u1/tiger tables=family  dumpfile='u1_family.dump' directory=dump_dir job_name=family1

Export: Release 10.2.0.5.0 - 64bit Production on Monday, 11 August, 2014 12:58:39

Copyright (c) 2003, 2007, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
Starting "U1"."FAMILY1":  u1/******** tables=family dumpfile=u1_family.dump directory=dump_dir job_name=family1
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
. . exported "U1"."FAMILY"                               5.984 KB       2 rows
Master table "U1"."FAMILY1" successfully loaded/unloaded
******************************************************************************
Dump file set for U1.FAMILY1 is:
  /oracle/product/10.2.0.5/rdbms/log/u1_family.dump
Job "U1"."FAMILY1" successfully completed at 12:58:44

#跨用户导入:
[oracle@host2 ~]$ impdp u2/tiger  dumpfile=u1_family_1.dump directory=dump_dir  REMAP_SCHEMA=u1:u2

Import: Release 10.2.0.5.0 - 64

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值