pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Kevin Kempter <kevink@consistentstate.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: check to see when tables were last vacummed
Date: Mon, 19 Jan 2009 10:27:27 -0800
Message-ID: <4974C60F.5050908@pinpointresearch.com> (raw)
In-Reply-To: <200901191114.47926.kevink@consistentstate.com>
References: <200901191114.47926.kevink@consistentstate.com>

Kevin Kempter wrote:
> Hi all;
>
> Anyone know where to look to see when tables were last vacuumed via autovacuum 
> ? 
> Also, can I run this check only in 8.3+ or did it work also in 8.2, 8.1 ?
>
>
> Thanks in advance
>
>   
In 8.3 look in the "pg_stat_user_tables" system table for the 
last_vacuum and last_autovacuum columns. I don't know when those columns 
were added. I don't see them in 8.1 and don't have 8.2 available at the 
moment.

Cheers,
Steve





view thread (3+ messages)  latest in thread

Message-ID: <4974C60F.5050908@pinpointresearch.com>
Permalink:  ../4974C60F.5050908@pinpointresearch.com/
Also on:    postgresql.org/message-id/4974C60F.5050908@pinpointresearch.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: scrawford@pinpointresearch.com, kevink@consistentstate.com
  Subject: Re: check to see when tables were last vacummed
  In-Reply-To: <4974C60F.5050908@pinpointresearch.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