From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | vadim(at)krs(dot)ru (Vadim Mikheev) |
Cc: | hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Bushy Plans fixed |
Date: | 1999-02-18 04:43:45 |
Message-ID: | 199902180443.XAA16435@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Vadim Mikheev | 1999-02-18 04:57:32 | Re: [HACKERS] Bushy Plans fixed |
Previous Message | Vadim Mikheev | 1999-02-18 04:42:31 | Re: [HACKERS] 8K block limit |