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: log file sync

Re: log file sync

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Wed, 27 Feb 2002 22:34:48 +0000
Message-ID: <3C7D5F08.1DD5@yahoo.com>


terrysutton_at_usa.net wrote:
>
> I'm experiencing substantial waits on log file events, as seen below:
>
> Time Waited % Time
> Wait Event (min) Waited Waits (k) % Waits
> ----------------------------------- ----------- ------- --------- -------
> log file sync 538 55.94 1042 30.31
> db file sequential read 169 17.56 1170 34.05
> log file parallel write 123 12.82 989 28.79
> db file parallel write 95 9.90 35 1.03
>
> From this, it appears that log file sync wait time is about 4-5 times log
> file parallel write time. I've been looking at some of the advice on Steve
> Adams' IXOra site, and it seems that my "sync cost" is thus around 4, and I
> should probably have a smaller log buffer size. But when I run his
> lgwr_stats script, I get the following results:
>
> Average Log
> Write Size
> ---------------
> 2048
>
> Background
> Write Theshold
> ---------------
> 87552
>
> Sync Cost Ratio
> ---------------
> 1.13
>
> Which indicates a much lower sync cost. I realize this is not a "IXOra
> scripts forum", but which is the proper sync cost, and does my log buffer
> need to be smaller? It is currently 256K.
>
> --Terry

Common cause is committing too frequently

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Wed Feb 27 2002 - 16:34:48 CST

Original text of this message

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