Re: last_autovacuum & last_autoanalyze showing NULL - Mailing list pgsql-admin

From Tom Lane
Subject Re: last_autovacuum & last_autoanalyze showing NULL
Date
Msg-id 19657.1282746788@sss.pgh.pa.us
Whole thread Raw
In response to Re: last_autovacuum & last_autoanalyze showing NULL  ("Gnanakumar" <gnanam@zoniac.com>)
Responses Re: last_autovacuum & last_autoanalyze showing NULL
List pgsql-admin
"Gnanakumar" <gnanam@zoniac.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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Autovacuum daemon & TEMPORARY tables
Next
From: Dragos Valentin Moinescu
Date:
Subject: Re: 8.2 "real-time" recovery