Re: 30-70 seconds query... - Mailing list pgsql-performance

From Tom Lane
Subject Re: 30-70 seconds query...
Date
Msg-id 25846.1049151512@sss.pgh.pa.us
Whole thread Raw
In response to Re: 30-70 seconds query...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 30-70 seconds query...  ("scott.marlowe" <scott.marlowe@ihs.com>)
Re: 30-70 seconds query...  ("alexandre :: aldeia digital" <alepaes@aldeiadigital.com.br>)
List pgsql-performance
I said:
> PG 7.4 will be better prepared to handle this sort of query, but I don't
> think it will realize that the T1/T2 left join could be reduced to a
> plain join given these conditions

I take that back --- actually, the algorithm used in CVS tip *does*
deduce that all these left joins can be plain joins.

Don't suppose you'd like to experiment with a current snapshot to see
how well it does for you?

            regards, tom lane


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: 30-70 seconds query...
Next
From: "scott.marlowe"
Date:
Subject: Re: 30-70 seconds query...