Re: [HACKERS] Reworking the writing of WAL

2011-08-12 Thread Simon Riggs
On Fri, Aug 12, 2011 at 7:02 PM, Robert Haas wrote: > On Fri, Aug 12, 2011 at 11:34 AM, Simon Riggs wrote: >> 1. Earlier, I suggested that the sync rep code would allow us to >> redesign the way we write WAL, using ideas from group commit. My >> proposal is that when when a backend needs to flush

Re: [HACKERS] Reworking the writing of WAL

2011-08-12 Thread Robert Haas
On Fri, Aug 12, 2011 at 11:34 AM, Simon Riggs wrote: > 1. Earlier, I suggested that the sync rep code would allow us to > redesign the way we write WAL, using ideas from group commit. My > proposal is that when when a backend needs to flush WAL to local disk > it will be added to a SHMQUEUE exactl