Re: Postgres query completion status?

From: Richard Neill <rn214(at)cam(dot)ac(dot)uk>
To:
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres query completion status?
Date: 2009-11-20 21:39:49
Message-ID: 4B070CA5.3020402@cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Justin Pitts wrote:
> Set work_mem in postgresql.conf down to what the 200 clients need, which
> sounds to me like the default setting.
>
> In the session which needs more work_mem, execute:
> SET SESSION work_mem TO '256MB'

Isn't that terribly ugly? It seems to me less hackish to rely on the
many clients not to abuse work_mem (as we know exactly what query they
will run, we can be sure it won't happen).

It's a shame that the work_mem parameter is a per-client one, rather
than a single big pool.

Richard

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2009-11-21 00:07:24 Re: Postgres query completion status?
Previous Message marcin mank 2009-11-20 21:38:14 Re: Postgres query completion status?