Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: MIN() performance regression 8.0 -> 8.1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: MIN() performance regression 8.0 -> 8.1
Date
Msg-id [email protected]
Whole thread Raw
In response to MIN() performance regression 8.0 -> 8.1  (Paul Lindner <[email protected]>)
List pgsql-hackers
Paul Lindner <[email protected]> writes:
> I believe I've found a performance regression between 8.0 and 8.1 for
> some cases.  For some queries it appears that the old MIN() ran much
> faster than the new optimized MIN().

When you are complaining about planner mistakes, showing EXPLAIN rather
than EXPLAIN ANALYZE output is an entirely ineffective way of making
your point.

I suspect the problem is that there is a correlation between the
moo_summary_date and moo_summary_b_id columns, which the planner
will not realize --- is that the case?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: SERIAL type feature request
Next
From: Tom Lane
Date:
Subject: Re: Reducing relation locking overhead