On Sun, Mar 8, 2009 at 12:47 PM, Grzegorz Jaśkiewicz <[email protected]> wrote: > work_mem constraints amount of memory allocated per connection, hence
Actually, it's per sort. And there can be > 1 sort per query. > you can run out of memory if too many connections try to use too much > of it at the same time, that's why it is advisable to set work_mem per > connection/query, should the connection/query require more. Definitely. -- Sent via pgsql-general mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
