Re: Is regular vacuuming with autovacuum needed? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Is regular vacuuming with autovacuum needed?
Date
Msg-id 19036.1281983716@sss.pgh.pa.us
Whole thread Raw
In response to Is regular vacuuming with autovacuum needed?  (Peter Koczan <pjkoczan@gmail.com>)
Responses Re: Is regular vacuuming with autovacuum needed?
List pgsql-admin
Peter Koczan <pjkoczan@gmail.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

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Is regular vacuuming with autovacuum needed?
Next
From: Greg Smith
Date:
Subject: Re: Is regular vacuuming with autovacuum needed?