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: latch-free SCN scheme (10.1.0.3)

Re: latch-free SCN scheme (10.1.0.3)

From: Tanel Põder <tanel.poder.003_at_mail.ee>
Date: Wed, 16 Feb 2005 20:16:43 -0000
Message-ID: <02d101c51464$6e9a7ab0$0301a8c0@porgand>


Hi,

> My way of thinking is also that there is no need to
> copy anything to log buffer if the strands are created
> in the unique static way. LGWR should know about them
> and their location and who did commit. Maybe in some
> new x$ table.

If logwriter is able to write redo to disk directly from private strands, then some kind of latching or synchronization mechanism has to be used again, to protect private strands from changing while lgwr is writing data to disk....

>
> But then what are shared strands? Who is sharing them
> in the single instance? Are they for distributed

Shared strands are in old log buffer area, since they can accommodate changes from different processes at the same time. Before 9i, there was only one redo log strand, protected by one redo allocation latch, but from 9i the log buffer can be logically split into multiple strands, each protected by its own redo allocation latch (it's controlled by log_parallelism parameter as Connor mentioned yesterday).

> Then maybe the new log buffer structure is just
> consists of private and share strands, no copy, then
> LGWR will know which strand(s) to write to the disk.

If you look at v$sgastat, there is private strands memory area under shared pool, which is quite large. So I guess they're kept there, testing and some heap dumping would reveal it...

> Gone too far ....

Where no DBA has gone before? ;)

Tanel.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 16 2005 - 15:19:34 CST

Original text of this message

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