Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Time taken by a checkpoint

Re: Time taken by a checkpoint

From: <nomorekiss_at_yahoo.com>
Date: 27 Jan 2005 23:27:37 -0800
Message-ID: <1106897257.506521.87010@f14g2000cwb.googlegroups.com>


I'm just reviewing this chapter (sybex book OCP Performance Tuning):

Using V$SYSTEM_EVENT to Measure Checkpoint Performance

Occasionally, checkpoint events are started, but do not complete successfully
because a second checkpoint request occurs very soon after the first. You can detect checkpoints that are started but not completed by querying
the statistic log file switch (checkpoint incomplete) in V$SYSTEM_ EVENT. This dynamic performance view reports the number of waits that have occurred since instance startup for a variety of events.

Two events found in the V$SYSTEM_EVENT view are indicators of checkpoint performance: checkpoint completed and log file switch
(checkpoint incomplete):

Checkpoint Completed This event shows how often waits occurred for the checkpoint to complete its activities. High or steadily increasing
values for this event indicate that checkpoints need to be tuned. The output
in Figure 7.5 shows that one Checkpoint Complete event had to wait 10 hundredths of a second to complete.

Log File Switch (Checkpoint Incomplete) This event shows how often the Online Redo Log switched from one log to the next, before the checkpoint from the previous log switch had time to complete. When this occurs, the in-progress checkpoint is abandoned and a new checkpoint is begun. Because incomplete checkpoints cause excess I/O that do not provide any recovery benefits, frequent occurrences of this event indicate that checkpoint activity should be tuned. The output from
Figure 7.5 shows that log switches that lead to incomplete checkpoints occurred 54 times, experiencing an average wait of 38 hundredths of a second.

Another indicator of checkpoint performance can be found in the V$SYSSTAT dynamic performance view. Two statistics, background checkpoints started and background checkpoints completed, can be used to determine whether all the checkpoints that were started, actually
completed. Discrepancies between these two statistics indicate that checkpoints
are starting, but not completing. As with the log file switch
(checkpoint incomplete) event, this situation occurs anytime
checkpoints
are occurring too closely together. Figure 7.6 shows and example of this problem using the V$SYSSTAT dynamic performance view. Received on Fri Jan 28 2005 - 01:27:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US