Re: Is regular vacuuming with autovacuum needed?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Koczan <pjkoczan(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Is regular vacuuming with autovacuum needed?
Date: 2010-08-16 18:35:16
Message-ID: 19036.1281983716@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Koczan <pjkoczan(at)gmail(dot)com> writes:
> The issue was that a routine VACUUM process (vacuumdb -az, called
> nightly via cron) was locking a table and wasn't completing. This
> server is also running autovacuum. This wasn't the source of the
> deadlock, but I'm wondering if regular vacuuming is necessary or even
> desirable with autovacuum running. Is there any reason for me to not
> disable the vacuum cron job and just tweak autovacuum parameters (or
> even just to leave the defaults)?

On versions where autovacuum is on by default, I would certainly
recommend trying to use only autovacuum. cron-driven vacuum still
has some uses but they are corner cases.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Smith 2010-08-16 19:51:39 Re: Is regular vacuuming with autovacuum needed?
Previous Message Scott Marlowe 2010-08-16 18:34:04 Re: Is regular vacuuming with autovacuum needed?