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 -> log file sync vs. log file parallel write ?

log file sync vs. log file parallel write ?

From: Bass Chorng <bchorng_at_yahoo.com>
Date: 11 Dec 2002 14:48:41 -0800
Message-ID: <bd9a9a76.0212111448.64321ddc@posting.google.com>


Here is what Oracle says about these 2 wait events.

Log file sync:

When a user session commits (or rollback), the session redo information needs to be flushed to the redo logfile. The user session will post the LGWR to write the log buffer to the redo log file. When the LGWR has finished, it will post the user session...

SO this is very clear if you do not look at log file parallel write.

Now look at this.

Log file parallel write:

Writing redo records to the redo log files from the log buffer.

I really can't tell the difference from the above statements. But look at my v$session_event of a session, these 2 are way different:

 EVENT                                        TOTAL_WAITS TIME_WAITED
-----------------------------------------------------------------------
log file parallel write                         1576423     20189
log file sync                                   1779889    337294

So is log file parallel write part of log file sync ? If so, what's the difference called ? How can it be so big ( from the above statements, the difference would be the time writing to redo log buffer which should be very fast ) ?

Thanks for sharing your knowledge. Received on Wed Dec 11 2002 - 16:48:41 CST

Original text of this message

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