Re: enforcing a join type

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: enforcing a join type
Дата
Msg-id 1091659270.27166.146.camel@localhost.localdomain
обсуждение исходный текст
Ответ на enforcing a join type  ("Hicham G. Elmongui" <elmongui@cs.purdue.edu>)
Ответы Re: enforcing a join type  ("Hicham G. Elmongui" <elmongui@cs.purdue.edu>)
Список pgsql-hackers
On Wed, 2004-08-04 at 14:53, Hicham G. Elmongui wrote:
> Hi,
> If I want the planner/optimizer to always choose merge join when it needs to
> join relations. How can I do it ?

>From my past experience, I'd guess what you're really trying to do is
STOP the planner from choosing a nested_loop join, in which case it's
quite easy:

set enable_nestloop = off;
select * from ...

Of course, you could apply the same basic trick to all other join
methods, and postgresql would then favor using the merge join.



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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: making integer_datetimes report on startup
Следующее
От: "Hicham G. Elmongui"
Дата:
Сообщение: Re: enforcing a join type