| From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
|---|---|
| To: | Doug Gorley <doug(dot)gorley(at)gmail(dot)com> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: How can I tell if I'm autovacuuming? |
| Date: | 2010-05-22 17:11:23 |
| Message-ID: | 1274548283.8730.99.camel@jd-desktop.unknown.charter.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)gorley(dot)ca
>
>
--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-05-23 01:39:14 | Re: Jobs not running |
| Previous Message | Doug Gorley | 2010-05-22 13:51:07 | How can I tell if I'm autovacuuming? |