Re: Confusing performance of specific query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Confusing performance of specific query
Дата
Msg-id 11587.1186724848@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Confusing performance of specific query  (Adam Endicott <leftwing17@gmail.com>)
Ответы Re: Confusing performance of specific query
Список pgsql-general
Adam Endicott <leftwing17@gmail.com> writes:
> Here's the output from explain analyze.

Wow, so the differential is all in the sort step.

8.2 does have improved sorting code, but I don't think that explains
the difference, especially not for a mere 16000 rows to be sorted.

Do you have comparable work_mem settings on both machines?  Another
thing to look at, if any of the sort key columns are textual, is whether
the lc_collate settings are the same.

            regards, tom lane

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

Предыдущее
От: Adam Endicott
Дата:
Сообщение: Re: Confusing performance of specific query
Следующее
От: Tommy Gildseth
Дата:
Сообщение: Re: Internal Postgre SQL documentation