Re: vacuuming problems continued - Mailing list pgsql-performance

From Joshua D. Drake
Subject Re: vacuuming problems continued
Date
Msg-id 4485D5C3.7010803@commandprompt.com
Whole thread Raw
In response to Re: vacuuming problems continued  (Mischa Sandberg <mischa@ca.sophos.com>)
Responses Re: vacuuming problems continued
List pgsql-performance
Mischa Sandberg wrote:
> Andrew Sullivan wrote:
>> On Thu, Jun 01, 2006 at 01:54:08PM +0200, Antoine wrote:
>>> Hi,
>>> We just don't seem to be getting much benefit from autovacuum. Running
>>> a manual vacuum seems to still be doing a LOT, which suggests to me
>>> that I should either run a cron job and disable autovacuum, or just
>>> run a cron job on top of autovacuum.
>
> Don't know if this was covered in an earlier thread. Bear with me if so.
>
> I'm working with 7.4.8 and 8.0.3 systems, and pg_autovacuum does have
> some glitches ... in part solved by the integrated autovac in 8.1:
>
> - in our env, clients occasionally hit max_connections. This is a known
> and (sort of) desired pushback on load. However, that sometimes knocks
> pg_autovacuum out.

That is when you use:

superuser_reserved_connections

In the postgresql.conf

> - db server goes down for any reason: same problem.

I believe you can use

stats_reset_on_server_start = on

For that little problem.

Joshua D. Drake

--

    === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
    Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/



pgsql-performance by date:

Previous
From: Mischa Sandberg
Date:
Subject: Re: vacuuming problems continued
Next
From: Mischa Sandberg
Date:
Subject: Re: vacuuming problems continued