From: Tom Lane <tgl@sss.pgh.pa.us>
To: alexandre :: aldeia digital <alepaes@aldeiadigital.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: 30-70 seconds query...
Date: Mon, 31 Mar 2003 17:58:32 -0500
Message-ID: <25846.1049151512@sss.pgh.pa.us> (raw)
In-Reply-To: <25610.1049149040@sss.pgh.pa.us>
References: <10846.200.225.202.15.1049145207.squirrel@webmail.ad2.com.br>
<25610.1049149040@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, alepaes@aldeiadigital.com.br
Subject: Re: 30-70 seconds query...
In-Reply-To: <25846.1049151512@sss.pgh.pa.us>
References: <10846.200.225.202.15.1049145207.squirrel@webmail.ad2.com.br> <25610.1049149040@sss.pgh.pa.us> <25846.1049151512@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox