Re: measuring lwlock-related latency spikes

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: measuring lwlock-related latency spikes
Дата
Msg-id 4ED52620-A70B-49DF-8B16-C3F753AE2633@gmail.com
обсуждение исходный текст
Ответ на Re: measuring lwlock-related latency spikes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Apr 2, 2012, at 3:04 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Seems like basically what you've proven is that this code path *is* a
> performance issue, and that we need to think a bit harder about how to
> avoid doing the fsync while holding locks.

Hmm, good idea. I wonder if we couldn't just hand off the fsync request to the background writer, as we do with buffer
fsyncrequests.  AFAICS we don't need the fsync to happen right away; the next checkpoint cycle should be soon enough. 

...Robert

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: measuring lwlock-related latency spikes
Следующее
От: Robert Haas
Дата:
Сообщение: Re: measuring lwlock-related latency spikes