rman恢复操作(RMAN restore operation).doc

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
rman恢复操作(RMAN restore operation)

rman恢复操作(RMAN restore operation) RMAN restore operation - column from Robinson_0612 Recovery operation 1. recovery steps for non system table spaces A. alter datafile n offline immediate alter tablespace tbs_name offline immediate |; B. restore C. recover D. alter datafile n online alter tablespace tbs_name online |; - delete the data file of the non system table space users (the database is in the open state) [oracle@oradb orcl]$PWD /u01/oracle/oradata/orcl [oracle@oradb orcl]$RM users01.dbf Lion@ORCL select * from tb2; Select * from TB2 * ERROR at line 1: ORA-01116:, error, in, opening, database, file, 4 ORA-01110:, data, file, 4:,/u01/oracle/oradata/orcl/users01.dbf ORA-27041:, unable, to, open, file Linux, Error:, 2:, No, such, file, or, directory Additional information: 3 RMAN run { 2, allocate, channel, ch1, device, type, disk; 3 SQL“更改表空间用户脱机即时”; 4 恢复表空间用户; 5 恢复表空间用户; 6 SQL“更改表空间用户在线”; 7 } 狮子:ORCL 选择*从TB2; 我的名字 ---------- --------------- 1鲁滨孙 也可以使用下面的恢复方式来完成恢复 RMAN 运行{ 2 分配通道CH1设备类型磁盘; 3“SQL”使数据文件4离线”; 4 恢复数据文件4; 5 恢复数据文件4; 6“SQL”使数据文件4在线”; 7 } 如果介质恢复时,需要用的日志尚未归档,需要指定联机重做日志文件所在的位置 注意 表空间几种不同的脱机方式 脱机正常: 表空间脱机的缺省方式, The data block (blocks) associated with all data files in the table space (SGA) is written to the data file before being offline There is no need for media recovery again on line. Offline temporary: The checkpoint process is implemented, i.e., the data block (blocks) associated with all data files in the SGA space is also written to the data file before being offline There is no guarantee that all data can be written to the data file. Restore media when you are online again. Offline immediate: There is no guarantee that the data in the tablespace is available, nor does the checkpoint process take place directly offline, and the media is resumed when it is online again. Offline, temporary, offline, immediate offline does not apply to data files Lion@ORCL, alter, database, datfile, 4, offline, immediate; Alter database datfile 4 offline immediate

您可能关注的文档

文档评论(0)

jgx3536 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档