Received: from maia.hub.org (unknown [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0FF781337B4B for ; Mon, 25 Oct 2010 11:12:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 83806-10 for ; Mon, 25 Oct 2010 14:12:43 +0000 (UTC) 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 mail.postgresql.org (Postfix) with ESMTP id EC12C1337B34 for ; Mon, 25 Oct 2010 11:12:42 -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 o9PECdPn006541; Mon, 25 Oct 2010 10:12:39 -0400 (EDT) To: "Jochen Erwied" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5722: vacuum full does not update last_vacuum statistics In-reply-to: <201010251242.o9PCgO10001534@wwwmaster.postgresql.org> References: <201010251242.o9PCgO10001534@wwwmaster.postgresql.org> Comments: In-reply-to "Jochen Erwied" message dated "Mon, 25 Oct 2010 12:42:24 +0000" Date: Mon, 25 Oct 2010 10:12:39 -0400 Message-ID: <6540.1288015959@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/201 X-Sequence-Number: 28491 "Jochen Erwied" writes: > VACUUM FULL does not update statistics so display of pg_stat_user_tables is > wrong. A normal VACUUM updates the relevant information. Hmm. This is a definitional issue: what do we really mean by last_vacuum? I'm inclined to think that the current behavior is reasonable. VACUUM FULL is (still) not intended as a routine maintenance operation, and the point of that column is to track routine maintenance operations. regards, tom lane