Re: Planner question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Planner question
Date
Msg-id 29568.1220641044@sss.pgh.pa.us
Whole thread Raw
In response to Planner question  (Tom Raney <raneyt@cecs.pdx.edu>)
Responses Re: Planner question  (Tom Raney <raneyt@cecs.pdx.edu>)
List pgsql-hackers
Tom Raney <raneyt@cecs.pdx.edu> writes:
> Why does the planner consider both input variations of each symmetric merge join?  The README says "there is not a
lotof difference" between the two options.  When are there any differences?
 

The righthand side needs to support mark/restore, the left doesn't;
so depending on plan types one way might need a helper Materialize
node that the other way doesn't.  Also, duplicated values are a bit
cheaper to process on the left than the right.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: CVS head has broken make
Next
From: "Merlin Moncure"
Date:
Subject: Re: CVS head has broken make