Re: Performance of full outer join in 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Schröder <cs(at)deriva(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance of full outer join in 8.3
Date: 2009-04-15 15:33:01
Message-ID: 11212.1239809581@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

=?ISO-8859-1?Q?Christian_Schr=F6der?= <cs(at)deriva(dot)de> writes:
> This is the query:
> select isin from ts_frontend.attachment_isins full OUTER JOIN
> ts_frontend.rec_isins using (attachment,isin) WHERE attachment=2698120
> GROUP BY isin limit 1000;

Hmm. It seems 8.3 is failing to push the attachment=2698120 condition
down to the input relations. Not sure why. All that code got massively
rewritten in 8.3, but I thought it still understood about pushing
equalities through a full join ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-04-15 15:35:34 Re: Trigger error
Previous Message Janning Vygen 2009-04-15 15:31:45 Problem with invalid byte sequence and log_min_error_statement

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2009-04-15 15:43:45 Re: Patch for server-side encoding issues
Previous Message Tom Lane 2009-04-15 14:04:34 Re: Memory exhaustion during bulk insert