Re: UPDATEDs slowing SELECTs in a fully cached database

Поиск
Список
Период
Сортировка
От lars
Тема Re: UPDATEDs slowing SELECTs in a fully cached database
Дата
Msg-id 4E22451F.9070803@yahoo.com
обсуждение исходный текст
Ответ на Re: UPDATEDs slowing SELECTs in a fully cached database  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: UPDATEDs slowing SELECTs in a fully cached database
Следующее
От: Greg Smith
Дата:
Сообщение: Re: UPDATEDs slowing SELECTs in a fully cached database