Re: query memory consumption

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: query memory consumption
Дата
Msg-id 2f4958ff0909220551l5fe63426u259ae186058e1003@mail.gmail.com
обсуждение исходный текст
Ответ на Re: query memory consumption  (Alan McKay <alan.mckay@gmail.com>)
Ответы Re: query memory consumption  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-performance
On Tue, Sep 22, 2009 at 1:46 PM, Alan McKay <alan.mckay@gmail.com> wrote:
>> Best practice to avoid that, is to bump the work_mem temporarily
>> before the query, and than lower it again, lowers the chance of memory
>> exhaustion.
>
> Interesting - I can do that dynamically?

you can do set work_mem=128M; select 1; set work_mem=64M;

etc, in one query.



--
GJ

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

Предыдущее
От: Greg Spiegelberg
Дата:
Сообщение: Re: session servers in ram
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: session servers in ram