imp/exp时的TRANSPORT_TABLESPACE参数是什么作用?

[复制链接]
查看11 | 回复2 | 2011-5-7 01:45:08 | 显示全部楼层 |阅读模式
我看到的解释是允许为可移动表空间导入metadata。
不明白是什么意思,请哪位能详细解释一下
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
用于直接将tablespace导入到另一个数据库中,
exp/imp仅导出/导入tablespace的元数据,
实际数据通过copy数据文件完成。
回复

使用道具 举报

千问 | 2011-5-7 01:45:08 | 显示全部楼层
Transportable Tablespaces
The transportable tablespace feature enables you to move a set of tablespaces from one Oracle database to another.
To move or copy a set of tablespaces, you must make the tablespaces read-only, copy the datafiles of these tablespaces, and use Export and Import to move the database information (metadata) stored in the data dictionary. Both the datafiles and the metadata export file must be copied to the target database. The transport of these files can be done using any facility for copying flat binary files, such as the operating system copying facility, binary-mode FTP, or publishing on CD-ROMs.
After copying the datafiles and exporting the metadata, you can optionally put the tablespaces in read/write mode.
Export provides the following parameters to enable export of transportable tablespace metadata.
·TABLESPACES
·TRANSPORT_TABLESPACE

TABLESPACES, Default: none
The TABLESPACES parameter specifies that all tables in the tablespace be exported to the Export dump file. This includes all tables contained in the list of tablespaces and all tables that have a partition located in the list of tablespaces. Indexes are exported with their tables, regardless of where the index is stored.
You must have the EXP_FULL_DATABASE role to use TABLESPACES to export all tables in the tablespace.
When TABLESPACES is used in conjunction with TRANSPORT_TABLESPACE=y, you can specify a limited list of tablespaces to be exported from the database to the export file.
TRANSPORT_TABLESPACE, Default: n
When specified as y, this parameter enables the export of transportable tablespace metadata.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行