Re: "checkpointer process" is consuming more memory. How to controlit?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: "checkpointer process" is consuming more memory. How to controlit?
Дата
Msg-id 20180823134628.yax2zzcklcmsk36w@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: "checkpointer process" is consuming more memory. How to control it?  (Avi Vallarapu <avi.vallarapu@percona.com>)
Список pgsql-general
On 2018-08-22 11:14:48 -0300, Avi Vallarapu wrote:
> Seams like you are with the default or fairly less checkpoint_* settings.
> 
> You need to look at several patterns to understand the best values for
> these settings.
> 
> For now, i can say 300 seconds for checkpoint_timeout could be fairly very
> less. Try increasing that with a reload.
> 
> See this =>
> https://www.percona.com/blog/2018/06/15/tuning-postgresql-for-sysbench-tpcc/
> 
> Please do note that delaying checkpointing could also increase the time for
> crash recovery/shutdown, etc.........

This seems to have not that much to do with the problem the OP has, no?

I suggest just using pmap -d $process_id_of_checkpointer
that'll likely show that it doesn't actually use much memory, but that
the RSS originates from the shared memory it has touched.

- Andres


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_sample
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: MultiXactId 24018 has not been created yet -- apparentwraparound error