Re: performance problem aftrer update from 7.1 to 7.4.2 - Mailing list pgsql-general

From Tom Lane
Subject Re: performance problem aftrer update from 7.1 to 7.4.2
Date
Msg-id 11644.1082002140@sss.pgh.pa.us
Whole thread Raw
In response to Re: performance problem aftrer update from 7.1 to 7.4.2  (Richard Huxton <dev@archonet.com>)
Responses Re: performance problem aftrer update from 7.1 to 7.4.2
List pgsql-general
Richard Huxton <dev@archonet.com> writes:
> 1. PG has changed the way it reports row width (I don't remember any such
> change).

My recollection is that up till 7.2, the estimation of widths for
variable-width columns was completely bogus.  Since 7.2 it's driven by
an actual average width for the column as measured by ANALYZE.  So if
the query is selecting some fairly wide variable-width columns then it's
entirely likely for the width estimate to take a big jump.

Given that we haven't seen any EXPLAIN ANALYZE output it's hard to say
anything about what the *real* problem is ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: invalid memory alloc request size 0
Next
From: Tom Lane
Date:
Subject: Re: upgrading postgresql from 7.2 to 7.3, getting error