Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E590A632B42 for ; Mon, 13 Sep 2010 22:41:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 77803-09 for ; Tue, 14 Sep 2010 01:40:59 +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 CB391632218 for ; Mon, 13 Sep 2010 22:40:58 -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 o8E1elSE023242; Mon, 13 Sep 2010 21:40:47 -0400 (EDT) To: Josh Berkus cc: pgsql-performance@postgresql.org Subject: Re: Where does data in pg_stat_user_tables come from? In-reply-to: <4C8EAE5E.70201@agliodbs.com> References: <4C8EAE5E.70201@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Mon, 13 Sep 2010 16:06:06 -0700" Date: Mon, 13 Sep 2010 21:40:47 -0400 Message-ID: <23241.1284428447@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/68 X-Sequence-Number: 40271 Josh Berkus writes: > I've been looking at pg_stat_user_tables (in 8.3, because of a project I > have), and it appears that autovacuum, and only autovaccum, updates the > data for this view. Um ... it updates the last_autovacuum and last_autoanalyze columns, but the others are not its responsibility. regards, tom lane