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

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: "Walter Vaughan" <wvaughan(at)steelerubber(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Dumb question - how to tell if autovacuum is doing its job in 8.2.x
Date: 2007-02-13 12:37:18
Message-ID: 2e78013d0702130437y1e58e845v24a7e32bf41f7f45@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/13/07, Walter Vaughan <wvaughan(at)steelerubber(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message MaRCeLO PeReiRA 2007-02-13 12:39:15 missing FROM-clause
Previous Message Raymond O'Donnell 2007-02-13 11:11:33 Re: Keyword OWNED not recognized in pg v. 8.1