pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Gauri Kanekar <meetgaurikanekar@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Auto Vacuum Problem
Date: Wed, 24 Jan 2007 08:54:05 +0000
Message-ID: <45B71EAD.7060301@archonet.com> (raw)
In-Reply-To: <7e4ba9550701240049w22e65273s3dc8ba58a9a735b@mail.gmail.com>
References: <7e4ba9550701240049w22e65273s3dc8ba58a9a735b@mail.gmail.com>

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



view thread (3+ messages)  latest in thread

Message-ID: <45B71EAD.7060301@archonet.com>
Permalink:  ../45B71EAD.7060301@archonet.com/
Also on:    postgresql.org/message-id/45B71EAD.7060301@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, meetgaurikanekar@gmail.com
  Subject: Re: Auto Vacuum Problem
  In-Reply-To: <45B71EAD.7060301@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox