Re: Query runs forever after upgrading to 9.3

Поиск
Список
Период
Сортировка
От Andrus
Тема Re: Query runs forever after upgrading to 9.3
Дата
Msg-id 0C05A378D1C34AEB9E22766442252483@dell2
обсуждение исходный текст
Ответ на Re: Query runs forever after upgrading to 9.3  (bricklen <bricklen@gmail.com>)
Ответы Re: Query runs forever after upgrading to 9.3  (bricklen <bricklen@gmail.com>)
Список pgsql-general
Hi,
 
>For cluster-wide setting you will probably want to drop that significantly -- start lower, as in somewhere around 10MB >and work up from there as necessary. For the queries you are finding slow (the reason for these emails) you can set >work_mem specifically for the session.
>Eg.
>set work_mem to '400MB';
><run your query>
>reset work_mem;
 
I changed it to 10MB.
The problamatic commands runs now less than 10 seconds.
 
 
wrote that max reasonable value in Windows for shared_buffers is 512MB
 
Is my setting shared_buffers= 2400MB reasonable in Windows ?
 
Andrus.

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

Предыдущее
От: bricklen
Дата:
Сообщение: Re: Query runs forever after upgrading to 9.3
Следующее
От: bricklen
Дата:
Сообщение: Re: Query runs forever after upgrading to 9.3