Re: Performance problem with joins

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance problem with joins
Дата
Msg-id 8114.1157726776@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Performance problem with joins  (fardeen memon <frank69in@yahoo.com>)
Ответы Re: Performance problem with joins  (fardeen memon <frank69in@yahoo.com>)
Список pgsql-performance
fardeen memon <frank69in@yahoo.com> writes:
> What is it that i am doing wrong?

I think the forced coercion to date type in the view case is preventing
the planner from making a good guess about the selectivity of the
condition on tra_date.  It has stats about tra_date's distribution,
but none about the distribution of "tra_date::date".

            regards, tom lane

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

Предыдущее
От: alvis
Дата:
Сообщение: Re: Configuring System for Speed
Следующее
От: "Phadnis"
Дата:
Сообщение: unsubscribe me