先来看看这几个参数在官方文档中定义是怎样的
Property |
Description |
Parameter type |
Integer |
Default value |
0 |
Modifiable |
ALTER SYSTEM |
Range of values |
0 to 3600 seconds |
Basic |
No |
Real Application Clusters |
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.
Property |
Description |
Parameter type |
Integer |
Default value |
0 |
Modifiable |
ALTER SYSTEM |
Range of values |
0 to 231 - 1 |
Basic |
No |
Real Application Clusters |
Multiple instances can have different values. |
LOG_CHECKPOINT_INTERVAL specifies the frequency of checkpoints in terms of the number of redo log file blocks that can exist between an incremental checkpoint and the last block written to the redo log. This number refers to physical operating system blocks, not database blocks.
Regardless of this value, a checkpoint always occurs when switching from one online redo log file to another. Therefore, if the value exceeds the actual redo log file size, checkpoints occur only when switching logs. Checkpoint frequency is one of the factors that influence the time required for the database to recover from an unexpected failure.
Notes:
· Specifying a value of 0 (zero) for LOG_CHECKPOINT_INTERVAL has the same effect as setting the parameter to infinity and causes the parameter to be ignored. Only nonzero values of this parameter are considered meaningful.
· Recovery I/O can also be limited by setting the LOG_CHECKPOINT_TIMEOUT parameter or by the size specified for the smallest redo log. For information on which mechanism is controlling checkpointing behavior, query the V$INSTANCE_RECOVERY view.
Property |
Description |
Parameter type |
Integer |
Default value |
1800 |
Modifiable |
ALTER SYSTEM |
Range of values |
0 to 231 - 1 |
Basic |
No |
Real Application Clusters |
Multiple instances can have different values. |
LOG_CHECKPOINT_TIMEOUT specifies (in seconds) the amount of time that has passed since the incremental checkpoint at the position where the last write to the redo log (sometimes called the tail of the log) occurred. This parameter also signifies that no buffer will remain dirty (in the cache) for more than integer seconds.