Re: Join problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Join problem
Дата
Msg-id 27627.1083156740@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Join problem  (Silke Trissl <trissl@informatik.hu-berlin.de>)
Список pgsql-performance
Silke Trissl <trissl@informatik.hu-berlin.de> writes:
> I found out, that the change of the operator from '~*' to '=' for the
> item.description brought a great boost in performance (425 secs to 1
> sec!), but not in cost (Query plans at the end).

The main problem seems to be bad estimation of the number of rows
extracted from the item table.  Have you ANALYZEd that table lately?

            regards, tom lane

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Simply join in PostrgeSQL takes too long
Следующее
От: Tom Lane
Дата:
Сообщение: Re: planner/optimizer question