Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem - Mailing list pgsql-general

From Melvin Davidson
Subject Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem
Date
Msg-id CANu8FixEzCn3zYi_S6U8yV6OYE=1GYL19UhFdrY71vsdzz02OA@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem  (Chris Mair <chris@1006.org>)
Responses Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem  (Moreno Andreo <moreno.andreo@evolu-s.it>)
List 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 by date:

Previous
From: Chris Mair
Date:
Subject: Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem
Next
From: Moreno Andreo
Date:
Subject: Re: [GENERAL] Service outage: each postgres process use the exactamount of the configured work_mem