Re: changing sort_mem on the fly?

Поиск
Список
Период
Сортировка
От Lonni J Friedman
Тема Re: changing sort_mem on the fly?
Дата
Msg-id 7c1574a905012717526788ce71@mail.gmail.com
обсуждение исходный текст
Ответ на Re: changing sort_mem on the fly?  ("Jim C. Nasby" <decibel@decibel.org>)
Ответы Re: changing sort_mem on the fly?  ("Jim C. Nasby" <decibel@decibel.org>)
Список pgsql-general
On Thu, 27 Jan 2005 18:23:21 -0600, Jim C. Nasby <decibel@decibel.org> wrote:
> On Thu, Jan 27, 2005 at 02:57:22PM -0800, Lonni J Friedman wrote:
> > Is there any way to increase sort_mem without having to perform a full
> > restart of the DB?  Will just doing a 'kill -HUP $PID" work as long as
> > i've made the change in postgresql.conf first?
> >
> > As a side question, are the options that will take effect with a kill
> > -HUP documented somewhere?
>
> If you just want to change it for one connection, you can do 'set
> sort_mem=newvalue;'. You might need to be an admin to do it, though.

I need to do it for all future connections, not just one.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@gmail.com
LlamaLand                       http://netllama.linux-sxs.org

В списке pgsql-general по дате отправления:

Предыдущее
От: Lonni J Friedman
Дата:
Сообщение: Re: changing sort_mem on the fly?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: changing sort_mem on the fly?