RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx

上传人:b****1 文档编号:15365667 上传时间:2022-10-29 格式:DOCX 页数:26 大小:33.69KB
下载 相关 举报
RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx_第1页
第1页 / 共26页
RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx_第2页
第2页 / 共26页
RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx_第3页
第3页 / 共26页
RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx_第4页
第4页 / 共26页
RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx_第5页
第5页 / 共26页
点击查看更多>>
下载资源
资源描述

RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx

《RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx》由会员分享,可在线阅读,更多相关《RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx(26页珍藏版)》请在冰豆网上搜索。

RMAN Tablespace PointinTime Recovery TSPITRWord下载.docx

∙UnderstandingRMANTSPITR

∙PlanningandPreparingforTSPITR

∙PerformingBasicRMANTSPITR

∙PerformingCustomizedRMANTSPITRwithanRMAN-ManagedAuxiliaryInstance

∙PerformingRMANTSPITRUsingYourOwnAuxiliaryInstance

∙TroubleshootingRMANTSPITR

UnderstandingRMANTSPITR

InordertouseTSPITReffectively,youneedtounderstandwhatproblemsitcansolveforyou,whatthemajorelementsusedinTSPITRare,whatRMANdoesduringTSPITR,andlimitationsonwhenandhowitcanbeapplied.

RMANTSPITRConcepts

Figure 

10-1illustratesthecontextwithinwhichTSPITRtakesplace,andageneraloutlineoftheprocess.

Figure10-1TablespacePoint-in-TimeRecovery(TSPITR)Architecture

Textdescriptionoftheillustrationbradv032.gif

Thefigurecontainsthefollowingentities:

∙Thetargetinstance,containingthetablespacetoberecovered

∙TheRecoveryManagerclient

∙Thecontrolfileand(optional)recoverycatalog,usedfortheRMANrepositoryrecordsofbackupactivity

∙Archivedredologsandbackupsetsfromthetargetdatabase,whicharethesourceofthereconstructedtablespace.

∙Theauxiliaryinstance,anOracledatabaseinstanceusedintherecoveryprocesstoperformtheactualworkofrecovery.

TherearefourotherimportanttermsrelatedtoTSPITR,whichwillbeusedintherestofthisdiscussion:

∙Thetargettime,thepointintimeorSCNthatthetablespacewillbeleftatafterTSPITR

∙Therecoveryset,whichconsistsofthedatafilescontainingthetablespacestoberecovered;

∙Theauxiliaryset,whichincludesdatafilesrequiredforTSPITRoftherecoverysetwhicharenotthemselvespartoftherecoveryset.Theauxiliarysettypicallyincludes:

∙AcopyoftheSYSTEMtablespace

∙Datafilescontainingrollbackorundosegmentsfromthetargetinstance

∙Insomecases,atemporarytablespace,usedduringtheexportofdatabaseobjectsfromtheauxiliaryinstance

Theauxiliaryinstancehasotherfilesassociatedwithit,suchasacontrolfile,parameterfile,andonlinelogs,buttheyarenotpartoftheauxiliaryset.

Theauxiliarydestination,anoptionallocationondiskwhichcanbeusedtostoreanyoftheauxiliarysetdatafiles,controlfilesandonlinelogsoftheauxiliaryinstanceduringTSPITR.FilesstoredherecanbedeletedafterTSPITRiscomplete.

Allofthesetermswillbereferencedthroughouttheremainderofthischapter.

HowTSPITRWorksWithanRMAN-ManagedAuxiliaryInstance

ToperformTSPITRoftherecoverysetusingRMANandanautomatedauxiliaryinstance,youcarryoutthepreparationsforTSPITRdescribedin"

PlanningandPreparingforTSPITR"

andthenissuetheRECOVERTABLESPACEcommand,specifying,ataminimum,thetablespacesoftherecoverysetandthetargettimeforthepoint-in-timerecovery,and,ifdesired,anauxiliarydestinationaswell.

RMANthencarriesoutthefollowingsteps:

1.Ifthereisnoconnectiontoanauxiliaryinstance,RMANcreatestheauxiliaryinstance,startsitupandconnectstoit.

2.Takesthetablespacestoberecoveredofflineinthetargetdatabase

3.Restoresabackupcontrolfilefromapointintimebeforethetargettimetotheauxiliaryinstance

4.Restoresthedatafilesfromtherecoverysetandtheauxiliarysettotheauxiliaryinstance.Filesarerestoredeitherinlocationsyouspecifyforeachfile,ortheoriginallocationofthefile(forrecoverysetfiles)orintheauxiliarydestination(forauxiliarysetfiles,ifyouusedtheAUXILIARYDESTINATIONargumentofRECOVERTABLESPACE)

5.Recoverstherestoreddatafilesintheauxiliaryinstancetothespecifiedtime

6.OpenstheauxiliarydatabasewiththeRESETLOGSoption

7.Exportsthedictionarymetadataaboutobjectsintherecoveredtablespacestothetargetdatabase

8.Shutsdowntheauxiliaryinstance

9.IssuesSWITCHcommandsonthetargetinstance,sothatthetargetdatabasecontrolfilenowpointstothedatafilesintherecoverysetthatwerejustrecoveredattheauxiliaryinstance.

10.Importsthedictionarymetadatafromtheauxiliaryinstancetothetargetinstance,allowingtherecoveredobjectstobeaccessed.

11.Deletesallauxiliarysetfiles.

AtthatpointtheTSPITRprocessiscomplete.Therecoverysetdatafilesar

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高中教育 > 高中教育

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1