Re: Query on view radically slower than query on underlying table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query on view radically slower than query on underlying table
Дата
Msg-id 27415.1298919456@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Query on view radically slower than query on underlying table  (Craig James <craig_james@emolecules.com>)
Ответы Re: Query on view radically slower than query on underlying table  (Craig James <craig_james@emolecules.com>)
Список pgsql-performance
Craig James <craig_james@emolecules.com> writes:
> My guess (and it's just a wild guess) is that the "left join" is
> forcing a sequence scan or something.

No, that's forcing the other join to be done in toto because it can't
reorder the left join and regular join.

            regards, tom lane

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

Предыдущее
От: Marc Cousin
Дата:
Сообщение: Re: inheritance: planning time vs children number vs column number
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Bad query plan when the wrong data type is used