Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A69816345DD for ; Wed, 25 Aug 2010 04:40:21 -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 74317-02-4 for ; Wed, 25 Aug 2010 07:40:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from rs73.luxsci.com (rs73.luxsci.com [64.49.254.135]) by mail.postgresql.org (Postfix) with ESMTP id 604EA6357B5 for ; Wed, 25 Aug 2010 04:31:45 -0300 (ADT) Received: from GNANAM (ABTS-TN-Static-186.58.165.122.airtelbroadband.in [122.165.58.186] (may be forged)) (authenticated bits=0) by rs73.luxsci.com (8.13.8/8.13.8) with ESMTP id o7P7VfX3009723; Wed, 25 Aug 2010 02:31:42 -0500 Reply-To: From: "Gnanakumar" To: Subject: last_autovacuum & last_autoanalyze showing NULL Date: Wed, 25 Aug 2010 13:00:55 +0530 Organization: Zoniac Software Private Limited Message-ID: <001e01cb4427$76669a00$6333ce00$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: ActEJ3O8YUN1CjcGR1y1iam04eqnYQ== Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_40=-0.001 X-Spam-Level: X-Archive-Number: 201008/208 X-Sequence-Number: 35457 Hi, Our production server is running PostgreSQL v8.2.3 on RHEL5. Autovacuum daemon is also running in the server. A brief background on my use case: We heavily use a table for storing of data temporarily inside PostgreSQL functions. Eventually, there will not be any record in the table. Because this table is used heavily, I usually keep tab of this particular table in "pg_stat_user_tables", so that disk space is within control. Recently, I noticed that "last_autovacuum" and "last_autoanalyze" column for this table showing a value. My question here is, what condition/scenario would make this column to update to value by autovacuum? I can add one more point here, which I remember, that is I performed a TRUNCATE on this table just before. I believe that this is not because of TRUNCATE TABLE? Regards, Gnanam