Re: Question regarding autovacuum in 8.1

From: Denis Gasparin <denis(at)edistar(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Question regarding autovacuum in 8.1
Date: 2007-08-30 06:36:59
Message-ID: 46D6658B.9030608@edistar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera ha scritto:
>> However i have no idea of what tables the autovacuum daemon is
>> processing because there aren't autovacuum info columns on
>> pg_stat_all_tables (as there are for 8.2.x).
>>
>
> For that, you need to change log_min_messages to debug2.
>
> Keep track of the PID of autovacuum from the "processing database"
> message and see if you can spot an ERROR message from it.
>
>
Ok. Thank you.
Another question/idea: why don't put messages about what tables got
vacuumed by the autovacuum daemon as normal log messages (instead of
debug2)?
I think it could be useful because in this way you can also know what
tables are used more often then other...
If i'm not wrong, the old autovacuum process in 7.4 and 8.0 did that...

Denis

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Max Zorloff 2007-08-30 06:40:32 Re: Shared memory usage
Previous Message Josh Tolley 2007-08-30 05:20:33 Re: Can this function be declared IMMUTABLE?