pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Sachchida Ojha <sojha@secure-elements.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autovacuum running forever
Date: Tue, 21 Aug 2007 16:47:18 -0500
Message-ID: <dcc563d10708211447t3557bbddl3aed1e3a9f2743d7@mail.gmail.com> (raw)
In-Reply-To: <E099DB9EF394534CBA0F62ED03CF3BBF05FDBEEC@EXVS01.IceMAIL.com>
References: <46CB0979.7050104@Sun.COM>
	<E099DB9EF394534CBA0F62ED03CF3BBF05FDBEEC@EXVS01.IceMAIL.com>

On 8/21/07, Sachchida Ojha <sojha@secure-elements.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.



view thread (2+ messages)

Message-ID: <dcc563d10708211447t3557bbddl3aed1e3a9f2743d7@mail.gmail.com>
Permalink:  ../dcc563d10708211447t3557bbddl3aed1e3a9f2743d7@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10708211447t3557bbddl3aed1e3a9f2743d7@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: scott.marlowe@gmail.com, sojha@secure-elements.com
  Subject: Re: Autovacuum running forever
  In-Reply-To: <dcc563d10708211447t3557bbddl3aed1e3a9f2743d7@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox