Re: Vacuum Vs Vacuum Full

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: Adrian Klaver <aklaver(at)comcast(dot)net>, pgsql-general(at)postgresql(dot)org, Robert Shaw <redsmurfau(at)msn(dot)com>
Subject: Re: Vacuum Vs Vacuum Full
Date: 2008-08-05 17:15:35
Message-ID: 10552.1217956535@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> Tom Lane wrote:
>> 8.2. But you could still get that message, even in CVS HEAD, if
>> autovacuum was failing to complete for some reason (and had been
>> failing for quite a long time).

> Should that message to updated since a database-wide vacuum is no longer
> required, or are you saying that the message is still relevant is some
> corner cases?

I think the message is okay as-is, or at least that the code doesn't
have the information available to do better --- it knows which database
is the most problematic, but not which table(s) within that DB most need
vacuuming. So the easiest manual fix is still a DB-wide vacuum.
Besides which, if you've got one problem table then you've probably got
more than one.

The odds of anyone seeing this message in the field in 8.2 or later seem
pretty remote anyway, so I'm not feeling like we should expend
tremendous effort to make it better.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kynn Jones 2008-08-05 17:16:12 max_fsm_relations question
Previous Message Matthew T. O'Connor 2008-08-05 16:54:36 Re: Vacuum Vs Vacuum Full