Re: How does filter order relate to query optimization?

Поиск
Список
Период
Сортировка
От David Jaquay
Тема Re: How does filter order relate to query optimization?
Дата
Msg-id ad4aa5a80703280939w510a8247rc23b96a283a74ed6@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How does filter order relate to query optimization?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: How does filter order relate to query optimization?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
A really long time ago, on 2/27/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Usually what you want to think about for something
> like this is plan optimization, ie, what order are the tables joined in
> and with what join methods.

How exactly can you control the join order?  I have cases where the
explain data indicates that the planner is picking a very inefficient
way to get the data, (i.e. joining two very big tables in their
entirety, then joining that to a 3rd with maybe 10 rows yielding maybe
30).  I'd love to have some more determinacy in dealing with the
planner on complex queries...

Dave

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

Предыдущее
От: Mike Charnoky
Дата:
Сообщение: disable/enable trigger hangs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How does filter order relate to query optimization?