Re: dirty_ratio & dirty_background_ratio settings with huge memory

Поиск
Список
Период
Сортировка
От pinker
Тема Re: dirty_ratio & dirty_background_ratio settings with huge memory
Дата
Msg-id 1520387941433-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: dirty_ratio & dirty_background_ratio settings with huge memory  (Andres Freund <andres@anarazel.de>)
Ответы Re: dirty_ratio & dirty_background_ratio settings with huge memory
Список pgsql-general
Andres Freund wrote
> With a halfway modern PG I'd suggest to rather tune postgres settings
> that control flushing. That leaves files like temp sorting in memory for
> longer, while flushing things controlledly for other sources of
> writes. See *_flush_after settings.
> 
> Greetings,
> 
> Andres Freund

Thank you Andres, I missed those parameters appearing. It's not the case for
this customer, because they have an ancient version 9.0, but it's
interesting for others :)
The maximal value - 2MB - is it not to small? Regarding the fact that for
instance the same buffer will be updated 10 times between checkpoints and
bgwriter well be flushing it directly to disk 10 times instead to allow the
buffer to stay in the cache and do the update faster?




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Can I grant permissions to specific set of uids (linux) ?
Следующее
От: pinker
Дата:
Сообщение: Re: dirty_ratio & dirty_background_ratio settings with huge memory