Re: UPDATEDs slowing SELECTs in a fully cached database - Mailing list pgsql-performance

From lars
Subject Re: UPDATEDs slowing SELECTs in a fully cached database
Date
Msg-id 4E22451F.9070803@yahoo.com
Whole thread Raw
In response to Re: UPDATEDs slowing SELECTs in a fully cached database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On 07/14/2011 08:47 AM, Tom Lane wrote:
>
> The implementation I was imagining was to define another bit in the info
> parameter for XLogInsert, say XLOG_NON_TRANSACTIONAL.  This could be a
> high-order bit that would not go to disk.  Anytime it was *not* set,
> XLogInsert would set a global boolean that would remember that the
> current transaction wrote a transactional WAL record.  This is the
> right default since the vast majority of call sites are writing records
> that we would want to have flushed at commit.  There are just a couple
> of places that would need to be changed to add this flag to their calls.
>
>             regards, tom lane
>

If you have a patch in mind I'm happy to test it on my setup and report
back.

-- Lars


pgsql-performance by date:

Previous
From: Jeff Janes
Date:
Subject: Re: UPDATEDs slowing SELECTs in a fully cached database
Next
From: Greg Smith
Date:
Subject: Re: UPDATEDs slowing SELECTs in a fully cached database