Re: [Testperf-general] BufferSync and bgwriter

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: [Testperf-general] BufferSync and bgwriter
Дата
Msg-id 878y7wkd3a.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: [Testperf-general] BufferSync and bgwriter  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-hackers
Jan Wieck <JanWieck@yahoo.com> writes:

> Doesn't cranking up the bgwriter_percent to 100 effectively make the entire
> shared memory a write-through cache? In other words, with 100% the bgwriter
> will allways write all dirty blocks out and it becomes unlikely to avoid an IO
> for subsequent modificaitons to the same data block.

If the goal is to not write out hot pages why look in T1 at all? Why not just
flush 100% of the dirty pages from T2 and ignore T1 entirely?

-- 
greg



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Call for port reports
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Permissions within a function