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

Re: Allowing VACUUM to time out when waiting for locks?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allowing VACUUM to time out when waiting for locks?
Date: 2005-01-29 14:59:57
Message-ID: 20050129145957.GA28885@wolff.to (view raw or flat)
Thread:
Lists: pgsql-hackers
On Sun, Jan 30, 2005 at 01:23:11 +1100,
  Philip Warner <pjw(at)rhyme(dot)com(dot)au> wrote:
> 
> We have a frequently updated (peak > 5/sec) table with about 1000 rows.
> 
> We run VACCUM FULL on this table every 5 minutes.

Why not just use plain VACUUM? The table will reach a steady state size.
You should only need to use VACUUM FULL if an event causes the table
to bloat to significantly more than steady state size and you want to reduce
the size again.

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2005-01-29 15:53:53
Subject: Re: Allowing VACUUM to time out when waiting for locks?
Previous:From: Robert TreatDate: 2005-01-29 14:54:50
Subject: Re: [pgsql-hackers] Patent issues and 8.1

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