Re: Auto Vacuum Problem

From: Richard Huxton <dev(at)archonet(dot)com>
To: Gauri Kanekar <meetgaurikanekar(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Auto Vacuum Problem
Date: 2007-01-24 08:54:05
Message-ID: 45B71EAD.7060301@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Gauri Kanekar wrote:
> Hi List,
>
> When auto vacuum is over the dead tuple are seems to get reduced, but
> physical size of database do not decreases.

It won't necessarily. An ordinary vacuum just keeps track of old rows
that can be cleared and re-used. A "vacuum full" is needed to compact
the table.

If you are running a normal vacuum often enough then the size of the
database should remain about the same (unless you insert more rows of
course).

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Heiko W.Rupp 2007-01-24 09:12:43 Re: Auto Vacuum Problem
Previous Message Richard Huxton 2007-01-24 08:49:28 Re: Postgres processes have a burst of CPU usage