Re: JOIN not being calculated correctly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: JOIN not being calculated correctly
Дата
Msg-id 626.1100987494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: JOIN not being calculated correctly  ("Scott Pederick" <sql.postgresql.org@pederick.com>)
Список pgsql-sql
"Scott Pederick" <sql.postgresql.org@pederick.com> writes:
> Still can't fathom why it's not using an index scan on the jobs table..

Why exactly do you think that would make it faster?

The query evidently requires visiting every single jobs row, so a
seqscan seems appropriate to me; indeed I'd say the planner picked
exactly the perfect plan.  If you think not, try forcing other plan
choices and see what happens to the runtime.
        regards, tom lane


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

Предыдущее
От: "Scott Pederick"
Дата:
Сообщение: Re: JOIN not being calculated correctly
Следующее
От: Justine.Cleary@c1data.com
Дата:
Сообщение: missing... at end of sql expression