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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philipp Buehler <pb-pgsql-g(at)mlsub(dot)buehler(dot)net>
Cc: 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 19:18:48
Message-ID: 14567.1082575128@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Philipp Buehler <pb-pgsql-g(at)mlsub(dot)buehler(dot)net> writes:
> 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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shanta McBain 2004-04-21 19:26:09 ident authentication problem
Previous Message Glen Parker 2004-04-21 19:00:05 Re: 7.3.4 on Linux: UPDATE .. foo=foo+1 degrades massivly over time