Re: left outer join terrible slow compared to inner join

Поиск
Список
Период
Сортировка
От Jonathan Bartlett
Тема Re: left outer join terrible slow compared to inner join
Дата
Msg-id Pine.GSU.4.44.0308290750290.6475-100000@eskimo.com
обсуждение исходный текст
Ответ на Re: left outer join terrible slow compared to inner join  (Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>)
Список pgsql-general
> And doing the explicit cross join statement on o_kat_prod instead of
> ot_kat_prod gives the expected performance to me ( 7.42 msec instead
> of 7324.49 msec with EXPLAIN ANALYZE).
>
> Do i've any chance to get the same performance on the view?

I've had this problem and it was due to improper typing - It was a join on
an int8 column, which has to be explicitly cast if it's a parameter to the
query.

Jon


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Optimizer isn't perfect
Следующее
От: Francois Suter
Дата:
Сообщение: Re: Visual database structure browser for postgresql?