How to Move or Copy a Tablespace to Another Database【每日一译】--2012-11-03

本文详细阐述了如何在Oracle数据库中移动或复制表空间集合的过程,包括将表空间设置为只读状态、复制数据文件以及使用EXP/IMP工具迁移元数据。文章还解释了在使用COMPATIBLE初始化参数时,表空间从只读状态转换为可读写状态的要求。同时强调了数据字典表空间不能在本地管理的SYSTEM表空间中创建,但可以通过传输功能插入到数据字典管理的表空间,但无法使其可写。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

To move or copy a set of tablespaces, you must make the tablespaces read only, copy
the datafiles of these tablespaces, and use export/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 files, such as the operating system

copying facility, ftp, or publishing on CDs.

移动或者COPY表空间集合,你必须让表空间为只读,COPY表空间的数据文件,并且使用

EXP/IMP去移动存储在数据字典的的数据库元数据信息。数据文件和元数据导出文件必须COPY

到目标数据库。这些文件的传输的完成可以使用任何COPY平面文件的工具,就像OS的COPY工具

,FTP或者通过CD将数据出版。
After copying the datafiles and importing the metadata, you can optionally put the

tablespaces in read/write mode.

当你COPY数据文件并且导入元数据后,你可以将表空间设为READ/WRITE模式。
The first time a tablespace’s datafiles are opened under Oracle Database with the
COMPATIBLE initialization parameter set to 10 or higher, each file identifies the
platform to which it belongs. These files have identical on disk formats for file header
blocks, which are used for file identification and verification. Read only and offline
files get the compatibility advanced after they are made read/write or are brought
online. This implies that tablespaces that are read only prior to Oracle Database 10g
must be made read/write at least once before they can use the cross platform

transportable feature.

在数据库使用COMPATIBLE初始化参数设为10或更高版本中第一次表空间的数据文件

被打开的时候,每次文件识别它属于的平台。这些文件拥有在磁盘上相同格式对于文件头块来

说,它们用于文件的识别和验证。只读和离线获得的兼容性一致当它们被设为读/写或者

属于联机状态时。这也就意味着表空间对于10G来说在只读阶段必须被设为READ/WRITE至少

一次在它们可以在交错平台上使用传输功能时。

Note: In a database with a locally managed SYSTEM tablespace,
dictionary tablespaces cannot be created. It is possible to plug in a
dictionary managed tablespace using the transportable feature, but it
cannot be made writable.

备注:在一个使用本地管理的SYSTEM表空间,数据字典表空间不能被创建的,这可以

插入到一个数据字典管理的表空间使用传输功能,但它不能被设为可写;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值