Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 94C45632919 for ; Tue, 23 Mar 2010 12:43:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 01755-06 for ; Tue, 23 Mar 2010 15:43:35 +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 C5E57632909 for ; Tue, 23 Mar 2010 12:43:35 -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 o2NFhWXL028923; Tue, 23 Mar 2010 11:43:32 -0400 (EDT) To: "Steve Jones" cc: pgsql-admin@postgresql.org Subject: Re: pg_stat: last vacuum and analyze times are not being updated - v8.3.5 In-reply-to: <89B26B749E941749A0A5D173B4F86C3B0164BD69@MX01.jigsawhq.com> References: <89B26B749E941749A0A5D173B4F86C3B0164BD69@MX01.jigsawhq.com> Comments: In-reply-to "Steve Jones" message dated "Tue, 23 Mar 2010 11:03:40 -0000" Date: Tue, 23 Mar 2010 11:43:32 -0400 Message-ID: <28922.1269359012@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.462 tagged_above=-10 required=5 tests=AWL=0.137, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/171 X-Sequence-Number: 33970 "Steve Jones" writes: > Issue: the last_vacuum column is not > being updated following a manual vacuum against a table or database. It works for me in 8.3 ... as long as there already is a stats entry for the table in question. You may be running into the pre-9.0 behavior that the vacuum time update gets thrown away if there is no pre-existing stats entry. If you vacuum twice, does the time of the second vacuum show up? http://archives.postgresql.org/pgsql-committers/2009-09/msg00062.php regards, tom lane