Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 939D4650164 for ; Tue, 5 Aug 2008 14:15:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 70393-07 for ; Tue, 5 Aug 2008 14:15:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 3A3A4650098 for ; Tue, 5 Aug 2008 14:15:43 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m75HFZnI010553; Tue, 5 Aug 2008 13:15:35 -0400 (EDT) To: "Matthew T. O'Connor" cc: Adrian Klaver , pgsql-general@postgresql.org, Robert Shaw Subject: Re: Vacuum Vs Vacuum Full In-reply-to: <489885CC.4020406@zeut.net> References: <200808050620.42805.aklaver@comcast.net> <48987008.1070208@zeut.net> <10052.1217954208@sss.pgh.pa.us> <489885CC.4020406@zeut.net> Comments: In-reply-to "Matthew T. O'Connor" message dated "Tue, 05 Aug 2008 12:54:36 -0400" Date: Tue, 05 Aug 2008 13:15:35 -0400 Message-ID: <10552.1217956535@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/156 X-Sequence-Number: 135986 "Matthew T. O'Connor" 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