racle oinstall 150200320 06-13 19:20 database.dmp
exp指令导出特定的表:
[oracle@localhost ~]$ exp hr/hr tables = hr.t file=hrt.dmp
Export: Release 11.2.0.1.0 - Production on 星期六 6月 13 19:30:12 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 AL32UTF8 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 T导出了 3 行
成功终止导出, 没有出现警告。
[oracle@localhost ~]$ exp hr/hr tables = t file=hrt.dmp
Export: Release 11.2.0.1.0 - Production on 星期六 6月 13 19:30:24 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 AL32UTF8 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 T导出了 3 行
成功终止导出, 没有出现警告。
[oracle@localhost ~]$ exp hr/hr tables = t file=hrt.dbf
Export: Release 11.2.0.1.0 - Production on 星期六 6月 13 19:30:54 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 AL32UTF8 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 T导出了 3 行
成功终止导出, 没有出现警告。
[oracle@localhost ~]$ exp system/manager tables=hr.t file=hrtt.dmp 注意此时使用schema_name.table_name
Export: Release 11.2.0.1.0 - Production on 星期六 6月 13 19:33:46 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 AL32UTF8 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
当前的用户已更改为 HR
. . 正在导出表 T导出了 3 行
成功终止导出, 没有出现警告。
导出特定用户:
这种方式和不带参数,很相似,下面做下实验:
[oracle@localhost ~]$ exp system/manager owner=hr file=hr.dmp
Export: Release 11.2.0.1.0 - Production on 星期六 6月 13 19:37:34 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 AL32UTF8 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的用户...
. 正在导出 pre-schema 过程对象和操作
. 正在导出用户 HR 的外部函数库名
. 导出 PUBLIC 类型同义词
. 正在导出专用类型同义词
. 正在导出用户 HR 的对象类型定义
即将导出 HR 的对象...
. 正在导出数据库链接
. 正在导出序号
. 正在导出簇定义
. 即将导出 HR 的表通过常规路径...
. . 正在导出表 COUNTRIES导出了 0 行
. . 正在导出表 T导出了 3 行
. . 正在导出表 TT导出了 1 行
. 正在导出同义词
. 正在导出视图
. 正在导出存储过程
. 正在导出运算符
. 正在导出引用完整性约束条件
. 正在导出触发器
. 正在导出索引类型
. 正在导出位图, 功能性索引和可扩展索引
. 正在导出后期表活动
. 正在导出实体化视图
. 正在导出快照日志
. 正在导出作业队列
. 正在导出刷新组和子组
. 正在导出维
. 正在导出 post-schema 过程对象和操作
. 正在导出统计信息
成功终止导出, 没有出现警告。
导出特定的表空间:
[oracle@localhost ~]$ exp system/manager tablespaces=users file=user.dmp
Export: Release 11.2.0.1.0 - Production on 星期六 6月 13 19:39:38 2015
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已导出 AL32UTF8 字符集和 AL16UTF16 NCHAR 字符集
即将导出所选表空间...
对于表空间 USERS...
. 正在导出簇定义
. 正在导出表定义
. . 正在导出表 T导出了 3 行
. . 正在导出表 TT导出了 1 行
. . 正在导出表 QUEST_SOO_EVENT_CATEGORIES导出了 1641 行
. . 正在导出表 QUEST_SOO_PARSE_TIME_TRACK导出了 1 行
. . 正在导出表 QU |