Re: Autovacuum running forever

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Sachchida Ojha" <sojha(at)secure-elements(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Autovacuum running forever
Date: 2007-08-21 21:47:18
Message-ID: dcc563d10708211447t3557bbddl3aed1e3a9f2743d7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 8/21/07, Sachchida Ojha <sojha(at)secure-elements(dot)com> wrote:
>
>
> Is there any way to stop the autovacuum if it is running longer than 10 min
> or so?
>
> Is it good idea to kill autovacuum if it is running longer than expected?
>
> In my OLTP system, we are inserting, updating and deleting the data every
> second.
>
> Autovacuum started and never finished slowing down the whole system.

It's probably better to adjust the sleep parameters in postgresql.conf
and then pg_ctl reload

You can kill the autovacuum backend, but it will just start up again
when the sleep time has passed.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Sachchida Ojha 2007-08-21 21:52:32 Re: Autovacuum is running forever
Previous Message Sachchida Ojha 2007-08-21 21:46:12 Re: Autovacuum is running forever