当前位置:操作系统 > Unix/Linux >>

FAST_START_MTTR_TARGET参数

FAST_START_MTTR_TARGET参数
 
先来看官方文档解释
FAST_START_MTTR_TARGET
Property Description
Parameter type Integer
Default value 0
Modifiable ALTER SYSTEM
Range of values 0 to 3600 seconds
Basic No
Oracle RAC Multiple instances can have different values, and you can change the values at runtime.
FAST_START_MTTR_TARGET enables you to specify the number of seconds the database takes to perform crash recovery of a single instance. When specified,FAST_START_MTTR_TARGET is overridden by LOG_CHECKPOINT_INTERVAL.
fast_start_mttr_target:快速启动平均故障恢复时间的目标,单位:s。缺省为0(禁用)即该参数指定了实例崩溃时的恢复时间(以秒为单位),是orcle9.2版本之后才有的一个参数;相关的参数还有LOG_CHECKPOINT_INTERVAL 和 LOG_CHECKPOINT_TIMEOUT ;
LOG_CHECKPOINT_INTERVAL 设定了恢复过程中将要被读的重做记录数。
LOG_CHECKPOINT_TIMEOUT 设置了上一检查点和最近的重做记录之间的秒数。
在oracle10gR2中又引入了自动的检查点功能;当设置FAST_START_MTTR_TARGET =0 的时候,就启动了自动的检查点功能;
 
其中视图v$instance_recovery 记录了这些监控机制:
V$INSTANCE_RECOVERY monitors the mechanisms available to users to limit recovery I/O. Those mechanisms are:
Set the LOG_CHECKPOINT_TIMEOUT initialization parameter
Set the LOG_CHECKPOINT_INTERVAL initialization parameter
Set the FAST_START_MTTR_TARGET initialization parameter
Set the size of the smallest redo log
 
现在一般倾向于设置FAST_START_MTTR_TARGET这个参数,其中该参数的机制是:
FAST_START_MTTR_TARGET 转化为两个内部参数:log_checkpoint_interval(脏块个数)和 log_checkpoint_timeout(超时发生),  任何一个满足条件时,  都会触发增量检查点事件,使DBWR和LGWR进程写数据。
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,