Re: 8.2.3 AutoVacuum not running

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Schwenker, Stephen" <SSchwenker(at)thestar(dot)ca>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: 8.2.3 AutoVacuum not running
Date: 2007-04-11 14:38:43
Message-ID: 15716.1176302323@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Schwenker, Stephen" <SSchwenker(at)thestar(dot)ca> writes:
> It says it's on and I have also turned on all stats collecting.

My guess is that it's actually running but is not choosing to do any
vacuums for some reason. Try setting log_min_messages to DEBUG5 for
awhile and trawling the postmaster log for evidence. You should at
minimum see messages indicating that the postmaster is launching an
autovac worker process once a minute; the next question is what that
process is doing with itself. (You might want to adjust log_line_prefix
to include PID so that you can track which messages come from which
process. I find including a timestamp is often helpful also.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dcrespo 2007-04-11 14:51:56 Evaluate only one CASE WHEN in a select
Previous Message William Garrison 2007-04-11 14:12:37 Re: Do I need serializable for this query? -- Part 2