Re: Odd sorting behaviour

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Odd sorting behaviour
Дата
Msg-id 200407151111.34002.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Odd sorting behaviour  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Ответы Re: Odd sorting behaviour
Список pgsql-performance
Steinar,

> sort_mem is already 16384, which I thought would be plenty -- I tried
> increasing it to 65536 which made exactly zero difference. :-)

Well, then the next step is increasing the statistical sampling on the 3 join
columns in that table.   Try setting statistics to 500 for each of the 3
cols, analyze, and see if that makes a difference.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Insert are going slower ...
Следующее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: Odd sorting behaviour