Thread: About autovacuum

About autovacuum

From
Jean-David Beyer
Date:
I have this turned on, and if I look at the log, it runs once a minute,
which is fine.

But what does it do? I.e, it runs VACUUM, but does it also do an analyze?

--
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key: 9A2FC99A         Registered Machine   241939.
 /( )\ Shrewsbury, New Jersey    http://counter.li.org
 ^^-^^ 14:35:01 up 26 days, 17:57, 2 users, load average: 4.31, 4.40, 4.78

Re: About autovacuum

From
Bill Moran
Date:
In response to Jean-David Beyer <jeandavid8@verizon.net>:

> I have this turned on, and if I look at the log, it runs once a minute,
> which is fine.
>
> But what does it do? I.e, it runs VACUUM, but does it also do an analyze?

Yes.  If you turn up the debugging level, you'll see detailed log
messages about its activities.

There were discussions on other lists about improving autovacuum's log
messages, I'm pretty sure it will log more helpful information in 8.3.

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023