Re: last_autovacuum & last_autoanalyze showing NULL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gnanam(at)zoniac(dot)com
Cc: pgsql-admin(at)postgresql(dot)org, bnichols(at)ca(dot)afilias(dot)info
Subject: Re: last_autovacuum & last_autoanalyze showing NULL
Date: 2010-08-25 14:33:08
Message-ID: 19657.1282746788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Gnanakumar" <gnanam(at)zoniac(dot)com> 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dragos Valentin Moinescu 2010-08-25 14:42:04 Re: 8.2 "real-time" recovery
Previous Message Tom Lane 2010-08-25 14:24:48 Re: Autovacuum daemon & TEMPORARY tables