Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 

   Richard Huxton
   Archonet Ltd

In response to

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group