expdp,impdp的使用

------------------------------expdp导出-------------------------------------

1.创建DIRECTORY

[oracle@RedHatOS ~]$ sqlplus sys/sys as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Mon Dec 16 15:52:53 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create directory expdpdir as '/home/oracle/expdpdir';

SQL> grant read,write on directory expdpdir to scott;

Grant succeeded.

2.在操作系统中创建本目录

[oracle@RedHatOS ~]$ pwd
/home/oracle
[oracle@RedHatOS ~]$ mkdir expdpdir
[oracle@RedHatOS ~]$ ls
expdpdir
3.导出语句

[oracle@RedHatOS ~]$ expdp scott/scott directory = expdpdir dumpfile = scott.dmp schemas=scott logfile=scott.log

Export: Release 11.2.0.3.0 - Production on Mon Dec 16 15:57:13 2013

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
转 : expdp impdp中 exclude/include 的使用




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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值