Re: Bad performance for a 3000 rows table updated

From: fred-pg(at)jolliton(dot)com (Frederic Jolliton)
To: Manfred Koizar <mkoi-pg(at)aon(dot)at>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Bad performance for a 3000 rows table updated
Date: 2003-04-07 08:59:46
Message-ID: 86of3ifzst.fsf@mau.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> On Sat, 05 Apr 2003 23:38:25 +0200, <fred-pg(at)jolliton(dot)com>(Frederic
> Jolliton) wrote:
>>SELECT relname,relpages [...]
>>
>>give 156 for the main table, doing a VACUUM every minute,

Manfred Koizar <mkoi-pg(at)aon(dot)at> writes:
> Is this number stable or always increasing? If the latter, how fast
> is it growing?

Just checked, I have actually 236. Runnnig a VACUUM FULL take less
than 1 second, and the value decreased to 174. But, waiting ~20
minutes, I now have 220. I think value stop progressing when reaching
~240. If I guess correctly, 236 is the maximum space that the table
used. Since the number of row rarely grow, and field length average
are almost constant, I expect this maximum value to stay also
constant.

--
Frédéric Jolliton

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Alessandro Galasso 2003-04-07 10:10:26 Basic info
Previous Message Manfred Koizar 2003-04-07 07:38:01 Re: Bad performance for a 3000 rows table updated