Re: performance problem aftrer update from 7.1 to 7.4.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: "Development - multi(dot)art(dot)studio" <dev(dot)null(at)multiartstudio(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: performance problem aftrer update from 7.1 to 7.4.2
Date: 2004-04-15 04:09:00
Message-ID: 11644.1082002140@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton <dev(at)archonet(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-15 04:41:43 Re: upgrading postgresql from 7.2 to 7.3, getting error
Previous Message Tom Lane 2004-04-15 03:53:12 Re: ERROR: invalid memory alloc request size 0