Re: log_autovacuum - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: log_autovacuum
Date
Msg-id 1186173183.4136.22.camel@ebony.site
Whole thread Raw
In response to Re: log_autovacuum  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
On Fri, 2007-08-03 at 18:56 +0100, Gregory Stark wrote:
> Actually, we happen to be running into a situation here where we need more
> logging. We need to understand why autovacuum isn't considering logging this
> table:
> 
>  relid | schemaname |  relname   | seq_scan | seq_tup_read | idx_scan | idx_tup_fetch | n_tup_ins | n_tup_upd |
n_tup_del| n_live_tup | n_dead_tup | last_vacuum |        last_autovacuum        | last_analyze |
last_autoanalyze       
 
>
-------+------------+------------+----------+--------------+----------+---------------+-----------+-----------+-----------+------------+------------+-------------+-------------------------------+--------------+-------------------------------
>  16436 | public     | stock      |        0 |            0 | 45929274 |      45928278 |         0 |  12116286 |
 0 |   25036190 |   12723033 |             |                               |              | 2007-08-01
17:24:30.796874-07
> 
> It looks like there are some DEBUG3 messages which would be useful but I don't
> know of any convenient way to change the log level in autovacuum workers. 

It also appears that only a single autovacuum daemon active at any one
time, which is also weird when we are supposed to have 3.

--  Simon Riggs EnterpriseDB  http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: clog_buffers to 64 in 8.3?
Next
From: Michael Glaesemann
Date:
Subject: Re: log_autovacuum