t_e.log directory=DIR_EXP job_name=my_job
include=TABLE:\"NOT LIKE \'E$%\'\"
Export: Release 10.2.0.1.0 - Production on 星期一, 27 10月, 2014 17:42:42
Copyright (c) 2003, 2005, Oracle. All rights reserved.
连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
启动 "SCOTT"."MY_JOB": scott/********@192.168.11.1:1521/orcl schemas=scott dump
file=scott_not_e.dmp logfile=scott_not_e.log directory=DIR_EXP job_name=my_job i
nclude=TABLE:"NOT LIKE \'E$%\'"
正在使用 BLOCKS 方法进行估计...
处理对象类型 SCHEMA_EXPORT/TABLE/TABLE_DATA
使用 BLOCKS 方法的总估计: 192 KB
处理对象类型 SCHEMA_EXPORT/TABLE/TABLE
处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/INDEX
处理对象类型 SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
处理对象类型 SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
处理对象类型 SCHEMA_EXPORT/TABLE/COMMENT
处理对象类型 SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
处理对象类型 SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . 导出了 "SCOTT"."DEPT" 5.656 KB 4 行
. . 导出了 "SCOTT"."EMP" 7.820 KB 14 行
. . 导出了 "SCOTT"."SALGRADE" 5.585 KB 5 行
. . 导出了 "SCOTT"."BONUS" 0 KB 0 行
已成功加载/卸载了主表 "SCOTT"."MY_JOB"
******************************************************************************
SCOTT.MY_JOB 的转储文件集为:
D:\DIREXP\SCOTT_NOT_E.DMP
作业 "SCOTT"."MY_JOB" 已于 17:42:56 成功完成
--仅导出scott用户下的所有存储过程:
expdp scott/scott@192.168.11.1:1521/orcl schemas=scott dumpfile=scott_procedure.dmp logfile=scott_procedure.log directory=DIR_EXP job_name=my_job include=PROCEDUR
2、Exclude导出用户中指定类型的指定对象
--导出lttfm用户下除TABLE类型以外的所有对象,如果表不导出那么与表相关的索引,约束等与表有关联的对象类型也不会被导出:
expdp scott/scott@192.168.11.1:1521/orcl schemas=scott dumpfile=scott_not_table.dmp logfile=scott_not_table.log directory=DIR_EXP job_name=my_job exclude=TABLE;
C:\Users\Administrator>expdp scott/scott@192.168.11.1:1521/orcl schemas=scott du
mpfile=scott_not_table.dmp logfile=scott_not_table.log directory=DIR_EXP job_nam
e=my_job exclude=TABLE
Export: Release 10.2.0.1.0 - Production on 星期一, 27 10月, 2014 17:56:08
Copyright (c) 2003, 2005, Oracle. All rights reserved.
连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
启动 "SCOTT"."MY_JOB": scott/********@192.168.11.1:1521/orcl schemas=scott dump
file=scott_not_table.dmp logfile=scott_not_table.log directory=DIR_EXP job_name=
my_job exclude=TABLE
正在使用 BLOCKS 方法进行估计...
处理对象类型 SCHEMA_EXPORT/TABLE/TABLE_DATA
使用 BLOCKS 方法的总估计: 0 KB
处理对象类型 SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
已成功加载/卸载了主表 "SCOTT"."MY_JOB"
******************************************************************************
SCOTT.MY_JOB 的转储文件集为:
D:\DIREXP\SCOTT_NOT_TABLE.DMP
作业 "SCOTT"."MY_JOB" 已于 17:56:11 成功完成
--导出scott用户下排除E$开头的所有表:
expdp scott/scott@192.168.11.1:1521/orcl dumpfile=scott_not_e_begin.dmp logfile=scott_not_e_begin.log directory=DIR_EXP job_name=my_job exclude=TABLE:\"LIKE\'e$%\'\"
C:\Users\Administrator>expdp scott/scott@192.168.11.1:1521/orcl dumpfile=scott_n
ot_e_begin.dmp logfile=scott_not_e_begin.log directory=DIR_EXP job_name=my_job e
xclude=TABLE:\"LIKE\'e$%\'\"
Export: Release 10.2.0.1.0 - Production on 星期一, 27 10月, 2014 17:58:16
Copyright (c) 2003, 2005, Oracle. All rights reserved.
连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP