Re: check to see when tables were last vacummed

From: "Larry Rosenman" <ler(at)lerctr(dot)org>
To: "'Steve Crawford'" <scrawford(at)pinpointresearch(dot)com>, "'Kevin Kempter'" <kevink(at)consistentstate(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: check to see when tables were last vacummed
Date: 2009-01-21 19:15:44
Message-ID: 01de01c97bfc$ae866c70$0b934550$@org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

They were added in 8.2 by me.

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler(at)lerctr(dot)org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Steve Crawford
Sent: Monday, January 19, 2009 12:27 PM
To: Kevin Kempter
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] check to see when tables were last vacummed

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ray Stell 2009-01-21 21:24:50 Re: ssl database connection problems...
Previous Message Carol Walter 2009-01-21 17:50:23 Re: ssl database connection problems...