pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Jones <Steve.Jones@codeweavers.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_stat: last vacuum and analyze times are not being updated - v8.3.5
Date: Tue, 23 Mar 2010 11:43:32 -0400
Message-ID: <28922.1269359012@sss.pgh.pa.us> (raw)
In-Reply-To: <89B26B749E941749A0A5D173B4F86C3B0164BD69@MX01.jigsawhq.com>
References: <89B26B749E941749A0A5D173B4F86C3B0164BD69@MX01.jigsawhq.com>

"Steve Jones" <Steve.Jones@codeweavers.net> writes:
> Issue:                                    the last_vacuum column is not
> being updated following a manual vacuum against a table or database.

It works for me in 8.3 ... as long as there already is a stats entry for
the table in question.  You may be running into the pre-9.0 behavior
that the vacuum time update gets thrown away if there is no pre-existing
stats entry.  If you vacuum twice, does the time of the second vacuum
show up?

http://archives.postgresql.org/pgsql-committers/2009-09/msg00062.php

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <28922.1269359012@sss.pgh.pa.us>
Permalink:  ../28922.1269359012@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28922.1269359012@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Steve.Jones@codeweavers.net
  Subject: Re: pg_stat: last vacuum and analyze times are not being updated - v8.3.5
  In-Reply-To: <28922.1269359012@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox