- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
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
您可能关注的文档
- imba(IMBA).doc
- id 32 staph 葡萄球菌的鉴定系统(ID 32 Staph staphylococcal identification system).doc
- iis无法安装(IIS cannot install).doc
- idata_一部别具特色的词典_评_易混同音近音词解析词典_王芳智(Idata_ is a unique _ rating _ dictionary easy mixed words dictionary _ homophone analytic Wang Fangzhi).doc
- internet 的影响(the internet 的影响).doc
- ioc与di(ioc与di).doc
- inter应用 考试大纲_考试大纲_上海市干部培训中心(The application of inter _ syllabus syllabus _ Shanghai cadres training center).doc
- ipad2你不可不知的26个使用小技巧(Ipad2 you must not know the 26 little tricks used).doc
- ipad使用技巧(IPad usage skills).doc
- ipad2和ipad有什么区别和不同(What are the differences and differences between ipad2 and iPad).doc
最近下载
- 苏教版小学英语3a-5a单词表(2015).doc VIP
- 贵州钢绳(集团)有限责任公司招聘笔试真题2021.docx VIP
- 2025年职业卫生评价考试真题二十 .pdf VIP
- 2025年贵州钢绳集团有限责任公司控股人员招聘笔试备考试题及答案解析.docx VIP
- 全血和各种血液成分的临床应用.ppt VIP
- 软件系统安全保障方案.docx VIP
- 2025年云南省中考地理试卷(含解析).pdf
- 四川省拟任县处级试题 四川省拟任县处级党政领导干部任职资格考试题.doc VIP
- CECS 349-2013 一体化给水处理装置应用技术规程.docx
- 茶皂素杀螺活性及对3种水生生物的安全性.docx
文档评论(0)