| 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.
| TARGET_MTTR | NUMBER |
Effective MTTR (mean time to recover)
target value in seconds. The TARGET_MTTR value is calculated based
on the value of the FAST_START_MTTR_TARGET parameter (the TARGET_MTTR value is used internally), and is usually an
approximation of the parameter's value. However, if the FAST_START_MTTR_TARGET parameter value is very small (for example,
one second), or very large (for example, 3600 seconds), the
calculation will produce a target value dictated by system limitations. In such
cases, the TARGET_MTTR value will be the shortest calculated time,
or the longest calculated time that recovery is expected to take.
If FAST_START_MTTR_TARGET is not specified, the value of this field is the current estimated MTTR. |
| ESTIMATED_MTTR | NUMBER | Current estimated mean time to recover (MTTR) based on the number of dirty buffers and log blocks (0 if FAST_START_MTTR_TARGET is not specified). Basically, this value tells you how long you could expect recovery to take based on the work your system is doing right now. |
| CKPT_BLOCK_WRITES | NUMBER | Number of blocks written by checkpoint writes |
| 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.
LOG_CHECKPOINT_INTERVAL指定的是增量检查点和最后写道redo log中的块之间的redo log块的数目,超过了这个数据将触发检查点。该值设定的是物理操作系统block,不是数据库块。| ACTUAL_REDO_BLKS | NUMBER | Current actual number of redo blocks required for recovery |
| TARGET_REDO_BLKS | NUMBER | Current target number of redo blocks that must be processed for recovery. This value is the minimum value of the following 3 columns, and identifies which of the 3 user-defined limits determines checkpointing. |
| LOG_FILE_SIZE_REDO_BLKS | NUMBER | Maximum number of redo blocks required to guarantee that a log switch does not occur before the checkpoint completes. |
| LOG_CHKPT_TIMEOUT_REDO_BLKS | NUMBER | Number of redo blocks that need to be processed during recovery to satisfy the LOG_CHECKPOINT_TIMEOUT parameter. The value displayed is not meaningful unless that parameter has been set. |
| LOG_CHKPT_INTERVAL_REDO_BLKS | NUMBER | Number of redo blocks that need to be processed during recovery to satisfy the LOG_CHECKPOINT_INTERVAL parameter. The value displayed is not meaningful unless that parameter has been set. |
| 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.
Specifying a value of 0 for the timeout disables time-based checkpoints. Hence, setting the value to 0 is not recommended unless FAST_START_MTTR_TARGET is set.
| Property | Description |
|---|---|
| Parameter type | Integer |
| Default value | 0 (disabled) |
| Modifiable | ALTER SYSTEM |
| Range of values | 0 or any integer in [60, 7200] |
| Basic | No |
| Real Application Clusters | Multiple instances should use the same value. |
ARCHIVE_LAG_TARGET limits the amount of data that can be lost and effectively increases the availability of the standby database by forcing a log switch after the specified amount of time elapses.
A 0 value disables the time-based thread advance feature; otherwise, the value represents the number of seconds. Values larger than 7200 seconds are not of much use in maintaining a reasonable lag in the standby database. The typical, or recommended value is 1800 (30 minutes). Extremely low values can result in frequent log switches, which could degrade performance; such values can also make the archiver process too busy to archive the continuously generated logs.
ARCHIVE_LAG_TARGET限制大量的数据丢失,通过超过指定时间之后强制redo log切换,有效的增加了standby database的高可用性。值为0将禁用该特性,否则这个值表示秒数,Oracle推荐的值为1800(30分钟),较低的值将导致过于频繁的切换,将影响性能,这样的值将使得归档进程忙于归档,不断的生成日志。来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30251003/viewspace-1700813/ ,如需转载,请注明出处,否则将追究法律责任。