Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 544B16328F4 for ; Wed, 25 Aug 2010 11:33:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 31888-04 for ; Wed, 25 Aug 2010 14:33:09 +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 EDF56632890 for ; Wed, 25 Aug 2010 11:33:10 -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 o7PEX8w6019658; Wed, 25 Aug 2010 10:33:08 -0400 (EDT) To: gnanam@zoniac.com cc: pgsql-admin@postgresql.org, bnichols@ca.afilias.info Subject: Re: last_autovacuum & last_autoanalyze showing NULL In-reply-to: <001001cb445b$c43d8570$4cb89050$@com> References: <001e01cb4427$76669a00$6333ce00$@com> <001001cb445b$c43d8570$4cb89050$@com> Comments: In-reply-to "Gnanakumar" message dated "Wed, 25 Aug 2010 19:15:19 +0530" Date: Wed, 25 Aug 2010 10:33:08 -0400 Message-ID: <19657.1282746788@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: 201008/218 X-Sequence-Number: 35467 "Gnanakumar" writes: >> Has your Postgres instance crashed or been restarted with immediate mode >> since the last vacuum? This will cause the autovacuum information to be >> null. > No, it's been up and running for almost a week. I even checked with "select > pg_postmaster_start_time()". I don't believe pg_postmaster_start_time() is reset by a backend-crash-and-restart sequence ... but the stats collector data will be. You might want to look into the postmaster log for evidence of such a crash. regards, tom lane