|
|
CHECKPOINT也可能和Archive Log的性能有关
Hi!
1) Oracle recommend to run both the instances in archievelog mode.
2) Tune the archieve as follow:
a) evaluate the number and size of the online redo logs.
Most often, increasing the size and the number of online redo log
groups will give archiver more time to catch up.
Adding more online logs does not help a situation where the archiver
cannot keep up with LGWR. It can help if there are bursts of redo
generation since it gives ARCH more time to average its processing
rate over time.
b) evaluate checkpoint interval and frequency
There are several possible actions include adding DBWR processes,
increasing db_block_checkpoint_batch, reducing db_block_buffers.
Turning on or allowing async IO capabilities definitely helps
alleviate most DBWR inefficiencies.
The LOG_CHECKPOINT_INTERVAL init.ora parameter controls how often a checkpoint
operation will be performed based upon the number of operating system blocks
that have been written to the redo log. If this value is larger than the size
of the redo log, then the checkpoint will only occur when Oracle performs a
log switch from one group to another, which is preferred.
The LOG_CHECKPOINT_TIMEOUT init.ora parameter controls how often a checkpoint
will be performed based on the number of seconds that have passed since the
last checkpoint. Checkpoint frequency impacts the time required for the
database to recover from an unexpected failure. Longer intervals between
checkpoints mean that more time will be required during database recovery.
c) consider adding multiple archiver processes
If LOG_ARCHIVE_START is set to true, Oracle starts up a single archiver
process names ARC0. Subsequently if the parameter is changed using the ALTER
SYSTEM command it will start the specified number of archive processes. For
example:
SVRMGRL>alter system set LOG_ARCHIVE_MAX_PROCESSES=4;
will invoke additional processes ARC1 , ARC2 and ARC3.
d) tune archiver process
change log_archive_buffer_size (max 128 in some ports)
change log_archive_buffer (max 8 in some ports)
Thanks & Regards,
Mala
@OSS |
|