Re: autovacuum blues

From: "Anton Melser" <melser(dot)anton(at)gmail(dot)com>
To: "Richard Huxton" <dev(at)archonet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: autovacuum blues
Date: 2006-11-09 12:12:29
Message-ID: 92d3a4950611090412lc783fe5ra20485506cdefb2b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/11/06, Richard Huxton <dev(at)archonet(dot)com> wrote:
> Anton Melser wrote:
> > Hi,
> > I just can't understand why autovacuum is not working. I have a test
> > db/table which I insert values into (by the thousands) and can't work
> > out why my stats don't get updated. Could someone have a quick look at
> > my attached .conf and tell me what I am doing?
> > I am running it on FC5 8.1.4.fc5.1.
>
> 1. Check "ps auxw | grep postgres" to see if it's running.
> 2. If so, check your PG logs and see if you see any activity. Turn
> connection and statement logging on and see what appears.
>

...
postgres 1300 0.0 1.1 20180 3048 ? S 12:03 0:00
/usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
postgres 1302 0.0 0.2 9968 544 ? S 12:03 0:00
postgres: logger process
postgres 1304 0.0 0.4 20316 1188 ? S 12:03 0:00
postgres: writer process
postgres 1305 0.0 0.6 10968 1544 ? S 12:03 0:00
postgres: stats buffer process
postgres 1306 0.0 0.3 10200 796 ? S 12:03 0:00
postgres: stats collector process
...
Any chance you could give me some pointers on activating logging? My
thoughts were to log
log_planner_stats = on
log_min_messages = info

Anything else?
Cheers
Antoine

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-11-09 12:12:38 Re: planer picks a bad plan (seq-scan instead of index)
Previous Message Richard Huxton 2006-11-09 12:09:04 Re: Changing the number and type of columns in a view