Re: 7.3.4 on Linux: UPDATE .. foo=foo+1 degrades massivly over time

From: Philipp Buehler <pb-pgsql-g(at)mlsub(dot)buehler(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.3.4 on Linux: UPDATE .. foo=foo+1 degrades massivly over time
Date: 2004-04-21 20:09:25
Message-ID: 20040421200924.GB32666@srv9.de.buehler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 21/04/2004, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote To Philipp Buehler:
> > While running
> > UPDATE banner SET counterhalf=counterhalf+1 WHERE BannerID=50
> > several thousand times, the return times degrade (somewhat linear).
>
> You need to vacuum occasionally ...
>
> > A following VACCUM brings back return times to 'start' - but I cannot
> > run VACUUM any other minute (?).
>
> Sure you can.

Yes, it's probably bearable. Just that I am sure now, it's a
systematic thing I've to deal with and not some fubar.

Thanks also for the other hints/URLs I got (pg_autovacuum in contrib, etc..)

ciao
--
Philipp Buehler, aka fips | <double-p>

cvs -d /dev/myself commit -m "it's my life" dont/you/forget

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2004-04-21 20:20:07 Re: [OT] Tom's/Marc's spam filters?
Previous Message Joe Conway 2004-04-21 20:07:55 Re: [OT] Tom's/Marc's spam filters?