------------------------------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 的使用