Re: postgresql recommendation memory

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Евгений Селявка <evg(dot)selyavka(at)gmail(dot)com>
Cc: desmodemone <desmodemone(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-performance(at)postgresql(dot)org>
Subject: Re: postgresql recommendation memory
Date: 2013-11-05 23:00:14
Message-ID: CAB7nPqRNjXS2M-G0+NyZzbmSKv4cZaLFz7WNyvwTDwhjmu17Mw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Nov 5, 2013 at 8:37 AM, Евгений Селявка <evg(dot)selyavka(at)gmail(dot)com> wrote:
> I set work_mem to 1/4 from available RAM. I have 32Gb RAM so i set
> shared_buffers to 8Gb.
I am sure you are mentioning shared_buffers here and not work_mem.
work_mem is a per-operation parameter. So if you are using an
operation involving work_mem more than 4 times simultaneously on
different sessions you'll swap pretty quickly ;)
--
Michael

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2013-11-05 23:22:43 Re: postgresql recommendation memory
Previous Message Merlin Moncure 2013-11-05 22:19:26 Re: Trees: integer[] outperformed by ltree