Re: Improving Query - Mailing list pgsql-performance

From Tom Lane
Subject Re: Improving Query
Date
Msg-id 23552.1193758752@sss.pgh.pa.us
Whole thread Raw
In response to Re: Improving Query  (Richard Huxton <dev@archonet.com>)
Responses Re: Improving Query
List pgsql-performance
Richard Huxton <dev@archonet.com> writes:
> Ketema wrote:
>> 5)Upgrade version of pg..currently is running 8.1.4

> Well every version gets better at planning, so it can't hurt.

+1 ... there are at least two things about this query that 8.2 could be
expected to be a great deal smarter about:
* mixed outer and inner joins
* something = ANY(array)

            regards, tom lane

pgsql-performance by date:

Previous
From: Marc Schablewski
Date:
Subject: Re: Optimizing PostgreSQL for Windows
Next
From: "Dave Dutcher"
Date:
Subject: Re: Optimizing PostgreSQL for Windows