Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem

Поиск
Список
Период
Сортировка
От Melvin Davidson
Тема Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem
Дата
Msg-id CANu8FixEzCn3zYi_S6U8yV6OYE=1GYL19UhFdrY71vsdzz02OA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem  (Chris Mair <chris@1006.org>)
Ответы Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem  (Moreno Andreo <moreno.andreo@evolu-s.it>)
Список pgsql-general


On Fri, Apr 14, 2017 at 2:42 PM, Chris Mair <chris@1006.org> wrote:
you should increase shared_memory to 40GB. General philosphy is to allocate 80% of system memory to shared_memory

Uhm...

80% is too much, likely:

https://www.postgresql.org/docs/9.5/static/runtime-config-resource.html

Bye,
Chris.



Sorry, I had a brain fart, shared_buffers should be 25% system memory, or 12GB


--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

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

Предыдущее
От: Chris Mair
Дата:
Сообщение: Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem
Следующее
От: Moreno Andreo
Дата:
Сообщение: Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem