Re: Dumb question - how to tell if autovacuum is doing its job in 8.2.x - Mailing list pgsql-general

From Pavan Deolasee
Subject Re: Dumb question - how to tell if autovacuum is doing its job in 8.2.x
Date
Msg-id 2e78013d0702130437y1e58e845v24a7e32bf41f7f45@mail.gmail.com
Whole thread Raw
In response to Re: Dumb question - how to tell if autovacuum is doing its job in 8.2.x  (Walter Vaughan <wvaughan@steelerubber.com>)
List pgsql-general

On 2/13/07, Walter Vaughan <wvaughan@steelerubber.com> wrote:

select last_autovacuum, last_autoanalyze from pg_stat_all_tables;
  last_autovacuum | last_autoanalyze
-----------------+------------------
                  |
...snip lots of identically blank lines...
                  |
                  |
(939 rows)

Does that mean it's working or not configured right?


It means auto vacuum/analyze did not trigger on any of the
tables. You may want to try:

SELECT name, setting from pg_settings where name like  '%autovacuum%';

to get the settings of autovacuum and check if autovacuum is turned on or not.

Thanks,
Pavan

--

EnterpriseDB     http://www.enterprisedb.com

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: How to append tables in a view
Next
From: MaRCeLO PeReiRA
Date:
Subject: missing FROM-clause