Re: sort_mem param of postgresql.conf
От
Grzegorz Jaśkiewicz
Тема
Re: sort_mem param of postgresql.conf
Дата
Msg-id
2f4958ff0811130659k4b938c6era88626205845b960@mail.gmail.com
Ответ на
Re: sort_mem param of postgresql.conf (Greg Smith)
Список
Дерево обсуждения
sort_mem param of postgresql.conf "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: sort_mem param of postgresql.conf "Scott Marlowe" <scott.marlowe@gmail.com>
Re: sort_mem param of postgresql.conf "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: sort_mem param of postgresql.conf Alvaro Herrera <alvherre@commandprompt.com>
Re: sort_mem param of postgresql.conf "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: sort_mem param of postgresql.conf Greg Smith <gsmith@gregsmith.com>
Re: sort_mem param of postgresql.conf "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: sort_mem param of postgresql.conf Sam Mason <sam@samason.me.uk>
Re: sort_mem param of postgresql.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: sort_mem param of postgresql.conf "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: sort_mem param of postgresql.conf "Scott Marlowe" <scott.marlowe@gmail.com>
Re: sort_mem param of postgresql.conf "Scott Marlowe" <scott.marlowe@gmail.com>
On Wed, Nov 12, 2008 at 11:08 PM, Greg Smith <gsmith@gregsmith.com> wrote:
-- Be advised that the work_mem setting (and its deprecated alias sort_mem) are on a per-client basis. So if you have a bunch of people running reports with that setting, you might discover your server running out of memory; that's a really high setting. Generally, if it's only a report or two that need a lot more working memory for sorts, you can do this at the beginning of them instead:
set work_mem='512MB';
so how do I change it back to default (without knowing what the previous val was). I suppose having it in a transaction won't do :P
GJ
В списке pgsql-general по дате отправления