Re: changing work_mem - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: changing work_mem
Date
Msg-id BANLkTi=4YMAaFNdRPFmbwzkVWyX9T+G03w@mail.gmail.com
Whole thread Raw
In response to changing work_mem  (Dinesh Bhandary <dbhandary@iii.com>)
List pgsql-admin
On Mon, Jun 13, 2011 at 10:29 AM, Dinesh Bhandary <dbhandary@iii.com> wrote:
> Hi All -
>
> Is there a way to change work_mem for a session in postgres without
> restarting a database? Please let me know.

In addition the standard set work_mem='512MB'; listed above, you can
make such changes sticky for a user or a database:

alter user bubba set work_mem='1000MB';
alter database reports set work_mem='256MB';

pgsql-admin by date:

Previous
From: Tim
Date:
Subject: tsvector limitations
Next
From: "Mark Johnson"
Date:
Subject: Re: tsvector limitations