Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Date
Msg-id 26281.1044982404@sss.pgh.pa.us
Whole thread Raw
In response to Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3  (Greg Stark <gsstark@mit.edu>)
Responses Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
List pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> The query actually runs slightly slower in CVS than with 7.3, though
> it's hard to compare because it seems to have done everything
> differently. Every hash join has become a merge join and every merge
> join has become a hash join :/

The estimated row counts for the bottom-level scans show some
differences, which probably account for the differing choice of plans.

Are these actually the same data with up-to-date ANALYZE stats in both
cases?  I do not recall that we've made any adjustments to the basic
statistical estimation routines since 7.3 ...

            regards, tom lane

pgsql-general by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: selects with large offset really slow
Next
From: Phil Howard
Date:
Subject: mailing list archives