Re: How can I tell if I'm autovacuuming? - Mailing list pgsql-admin

From Joshua D. Drake
Subject Re: How can I tell if I'm autovacuuming?
Date
Msg-id 1274548283.8730.99.camel@jd-desktop.iso-8859-1.charter.com
Whole thread Raw
In response to How can I tell if I'm autovacuuming?  (Doug Gorley <doug.gorley@gmail.com>)
List pgsql-admin
On Sat, 2010-05-22 at 09:51 -0400, Doug Gorley wrote:
> From what I see in the docs, these three settings in postgresql.conf
> should be enough for PostgreSQL (8.2) to autovacuum with the default
> settings:
>
> autovacuum = on
> stats_start_collector = on
> stats_row_level = on
>
> So, two questions:
>
> (a) Is this correct?  Should autovacuum be functional now?

If you restarted.

> (b) How can I verify that my databases are being vacuumed by autovacuum?

pg_stat_user_tables should have a last_autovac column.

>
> Thanks,
>
> --
> Doug Gorley | doug@gorley.ca
>
>

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering



pgsql-admin by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: How can I tell if I'm autovacuuming?
Next
From: Tom Lane
Date:
Subject: Re: Jobs not running