Re: [HACKERS] Bushy Plans fixed
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] Bushy Plans fixed |
Дата | |
Msg-id | 199902180443.XAA16435@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] Bushy Plans fixed (Vadim Mikheev <vadim@krs.ru>) |
Список | pgsql-hackers |
> Bruce Momjian wrote: > > > > > > Frankly, I would like to enable bushy plans and right-handed plans by > > > > default. The optimizer is now fast enough that a 9-table join is almost > > > > instantaneous, even with bush plans. People are not sophisticated > > > > enough to know when to enables these options themselves. I am not sure I > > > > am either. I would like to enables both, fix whatever breaks, and > > > > programmatically enable the options when they make sense. > > > > > > We need not in right-sided plans code any more. > > > I agreed that we should enable bushes by default. > > > > Are you saying right-hand plans are not useful if we have bushy plans? > > If so, I will remove the right-hand code. > > I mean that bushes should be able to produce right-sided plans. > So - remove right-sided coded. The bushy code joined joined relations, not base relations. Currently, base relations are always inner without right-hand plans. See make_rels_by_clause_joins() and let me know what needs to be changed, or feel free to modify it yourself. I will check your modifications. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: