Re: Odd behavior with temp usage logging

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Odd behavior with temp usage logging
Дата
Msg-id 497EC24E.5040805@postnewspapers.com.au
обсуждение исходный текст
Ответ на Odd behavior with temp usage logging  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Odd behavior with temp usage logging  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
Josh Berkus wrote:
> Folks,
>
> I turned on temp file logging for PostgreSQL to see if I needed to
> adjust work_mem.  Oddly, it's logging file usage up to 33 times per
> executed query (and no, the query isn't large enough to need 33 separate
> sorts).

Are you sure there's not a sort happening inside a loop? It might help
if you posted the actual log messages along with the output of `EXPLAIN
ANALYZE' on your query.

--
Craig Ringer

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Odd behavior with temp usage logging
Следующее
От: A B
Дата:
Сообщение: Re: [PERFORMANCE] Buying hardware