Re: [GENERAL] Very slow inner join query Unacceptable latency.

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [GENERAL] Very slow inner join query Unacceptable latency.
Дата
Msg-id CAOR=d=2i4oJmqoQ4h9NVoTocqfX7uVf1aCZ=SHRr0XMH9uR8cg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Very slow inner join query Unacceptable latency.  (<fburgess@radiantblue.com>)
Список pgsql-performance
On Fri, May 24, 2013 at 3:44 PM,  <fburgess@radiantblue.com> wrote:

> Total runtime: 1606.728 ms 1.6 seconds <- very good response time
> improvement
>
> (7 rows)
>
> Questions:
>
> Any concerns with setting these conf variables you recommended; work_mem,
> random_page_cost dbserver wide (in postgresql,conf)?
>
> Thanks so much!!!

Yes 500MB is pretty high especially if you have a lot of connections.
Try it with it back down to 16MB and see how it does.  Work mem is per
sort so a setting as high as 500MB can exhaust memory on the machine
under heavy load.

--
To understand recursion, one must first understand recursion.


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

Предыдущее
От:
Дата:
Сообщение: Re: [GENERAL] Very slow inner join query Unacceptable latency.
Следующее
От: aup20
Дата:
Сообщение: Reporting query failing