Re: Auto Vacuum Problem - Mailing list pgsql-performance

From Richard Huxton
Subject Re: Auto Vacuum Problem
Date
Msg-id 45B71EAD.7060301@archonet.com
Whole thread Raw
In response to Auto Vacuum Problem  ("Gauri Kanekar" <meetgaurikanekar@gmail.com>)
List 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

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Postgres processes have a burst of CPU usage
Next
From: "Heiko W.Rupp"
Date:
Subject: Re: Auto Vacuum Problem