Re: short query becomes long

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mikeo <mikeo(at)spectrumtelecorp(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: short query becomes long
Date: 2000-06-02 02:31:59
Message-ID: 9845.959913119@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

mikeo <mikeo(at)spectrumtelecorp(dot)com> writes:
> after about 50,000 updates, which fly right along, the process begins
> to really bog down. we perform a vacuum analzye and it speeds right
> up again.

A plain "vacuum" should do the job in a bit less time. The problem
is you need to reclaim the space occupied by deleted versions of rows.
No way around that with the current storage manager: vacuum is the
only way to get rid of the wasted space.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alessandro Rossi 2000-06-02 06:49:45 SPEED UP.
Previous Message p.lam 2000-06-01 23:59:35 Simulating CURSORS??