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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: 'log file single write' and 'log file parallel write'

RE: 'log file single write' and 'log file parallel write'

From: Steve Adams <steve.adams_at_ixora.com.au>
Date: Thu, 7 Sep 2000 12:33:20 +1000
Message-Id: <10611.116362@fatcity.com>


Hello Diego,

The 'log file single write' event is associated with writes to the log file header blocks only, and that only happens when a log file is being opened or closed. Header block writes have to be single writes (rather than parallel writes to all the members of the group) because part of the header information is the file number, and that is different for each member. These waits are rare and occur in the background anyway, so I suggest that you not concern yourself with them.

The 'log file parallel write' event is used for routines writes of sets of redo blocks by LGWR. It is interesting only as a point of comparison for the 'log file sync' time, which is what the Ixora "sync cost ratio" does. Both your calculation of the sync cost ratio, and your interpretation of it are incorrect. Please use the lgwr_stats.sql script at http://www.ixora.com.au/scripts/redo_log.htm#lgwr_stats to calculate the ratio, and check the recent answer at http://www.ixora.com.au/q+a/0008/29172823.htm for some guidelines on how to interpret the number. If you want to know the ratio of background writes to sync writes, then use the 'redo writes' and 'redo synch writes' statistics from V$SYSSTAT instead.

@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/
@ http://www.christianity.net.au/

@

@ Going to OpenWorld?
@ Catch the Ixora performance tuning seminar too!
@ See http://www.ixora.com.au/seminars/ for details.

-----Original Message-----
From: Diego Cutrone [mailto:dcutrone_at_afip.gov.ar] Sent: Thursday, 7 September 2000 5:11
To: Multiple recipients of list ORACLE-L Subject: log file single write and log file parallel write

Hi, hope somebody can help me

What does the 'log file single write' event mean?

What is the difference with 'log file parallel write' event ?

In one of my databases I have:

Event                                 Average Wait

log file sync                     3.69
log file single write         1.21
Received on Wed Sep 06 2000 - 21:33:20 CDT

Original text of this message

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