Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Date: 2003-02-11 17:14:05
Message-ID: 87lm0mpwo2.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Greg Stark <gsstark(at)mit(dot)edu> writes:
>
> 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 ...

The exact same data. I just copied the data using pg_dumpall to do the upgrade
and haven't updated either database at all since. The analyze stats should be
pretty up-to-date but in any case should be the same for both assuming they
get copied in the dump as well.

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-11 17:14:50 Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Previous Message Tom Lane 2003-02-11 17:09:51 Re: Fw: Priority against catalog