pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedcheck to see when tables were last vacummed
3+ messages / 3 participants
[nested] [flat]
* check to see when tables were last vacummed
@ 2009-01-19 18:14 Kevin Kempter <kevink@consistentstate.com>
2009-01-19 18:27 ` Re: check to see when tables were last vacummed Steve Crawford <scrawford@pinpointresearch.com>
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Kempter @ 2009-01-19 18:14 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: check to see when tables were last vacummed
2009-01-19 18:14 check to see when tables were last vacummed Kevin Kempter <kevink@consistentstate.com>
@ 2009-01-19 18:27 ` Steve Crawford <scrawford@pinpointresearch.com>
2009-01-21 19:15 ` Re: check to see when tables were last vacummed Larry Rosenman <ler@lerctr.org>
0 siblings, 1 reply; 3+ messages in thread
From: Steve Crawford @ 2009-01-19 18:27 UTC (permalink / raw)
To: Kevin Kempter <kevink@consistentstate.com>; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: check to see when tables were last vacummed
2009-01-19 18:14 check to see when tables were last vacummed Kevin Kempter <kevink@consistentstate.com>
2009-01-19 18:27 ` Re: check to see when tables were last vacummed Steve Crawford <scrawford@pinpointresearch.com>
@ 2009-01-21 19:15 ` Larry Rosenman <ler@lerctr.org>
0 siblings, 0 replies; 3+ messages in thread
From: Larry Rosenman @ 2009-01-21 19:15 UTC (permalink / raw)
To: 'Steve Crawford' <scrawford@pinpointresearch.com>; 'Kevin Kempter' <kevink@consistentstate.com>; +Cc: 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@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Steve Crawford
Sent: Monday, January 19, 2009 12:27 PM
To: Kevin Kempter
Cc: pgsql-admin@postgresql.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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2009-01-21 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-01-19 18:14 check to see when tables were last vacummed Kevin Kempter <kevink@consistentstate.com>
2009-01-19 18:27 ` Steve Crawford <scrawford@pinpointresearch.com>
2009-01-21 19:15 ` Larry Rosenman <ler@lerctr.org>
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