Re: postgres 9 query performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres 9 query performance
Дата
Msg-id 21572.1296425895@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres 9 query performance  (Andres Freund <andres@anarazel.de>)
Ответы Re: postgres 9 query performance  (Andres Freund <andres@anarazel.de>)
Re: postgres 9 query performance  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-performance
Andres Freund <andres@anarazel.de> writes:
> What happens if you change the
>     left join event.origin on event.id = origin.eventid
> into
>     join event.origin on event.id = origin.eventid
> ?

> The EXISTS() requires that origin is not null anyway. (Not sure why the
> planner doesn't recognize that though).

Sloppy thinking in reduce_outer_joins() is why.  Fixed now:
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=1df57f63f3f60c684aa8918910ac410e9c780713

            regards, tom lane

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

Предыдущее
От: "Mark Felder"
Дата:
Сообщение: Re: Any experience using "shake" defragmenter?
Следующее
От: Marcin Mirosław
Дата:
Сообщение: Re: Any experience using "shake" defragmenter?