INSTANCE and CRASH RECOVERY

1.type of checkpoint

   full checkpoint     alter system checkpoint

   incrimental checkpoint(logfile switch) alter system switch logfile.

   partial  checkpoint    alter tablespace backup/online/offline

 

2.phases of instance recovery 

   1.chek asydatafiles.

   2.cache rocovery(roll forward withredo),open database. 

   3.transaction recovery(roll back uncommited).

   4.commited datas in the datafiles.

 

3.RBA:every three second, checks record the RBA from the oldest entry in the checkopint quene in the control file.only in the event of a log switch,check wirte this formation to the headers of the datafiles.

logfile switch does not force all dirty buffers to be written to disk.

 

4.Crash recovery is used to recover from a failure either when a single-instance
database crashes or all instances of an Oracle Real Application Clusters database
crashes. Instance recovery refers to the case where a surviving instance recovers a
failed instance in an Oracle Real Application Clusters database.

 

5.tunning the duration of instance recovery, control the check redo blocks

   fast_start_mttr_target

   log_checkpoint_timeout

   log_checkpoint_interval

   fast_start_io_target

   v$instance_recovery

   v$fast_start_servers

   v$fast_start_transactions

6.tunning the phases of the roll forward and roll back

   1.recovery_parallelism

   2.fast_start_parallel_rollback (false,lo,hi)

   3.v$fast_start_servers; v$fast_start_transactions

 

  

6.MTTR:mean time to recovery

   MTBF:mean time between failures

 

7.  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值