pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gnanakumar <gnanam@zoniac.com>
To: pgsql-admin@postgresql.org
Subject: last_autovacuum & last_autoanalyze showing NULL
Date: Wed, 25 Aug 2010 13:00:55 +0530
Message-ID: <001e01cb4427$76669a00$6333ce00$@com> (raw)

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 <NULL> value.  My question here is, what
condition/scenario would make this column to update to <NULL> 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




view thread (5+ messages)  latest in thread

Message-ID: <001e01cb4427$76669a00$6333ce00$@com>
Permalink:  ../001e01cb4427$76669a00$6333ce00$@com/
Also on:    postgresql.org/message-id/001e01cb4427$76669a00$6333ce00$@com

 · 

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: gnanam@zoniac.com
  Subject: Re: last_autovacuum & last_autoanalyze showing NULL
  In-Reply-To: <001e01cb4427$76669a00$6333ce00$@com>

* 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