Re: Autovacuum is running forever

From: "Sachchida Ojha" <sojha(at)secure-elements(dot)com>
To: "Sachchida Ojha" <sojha(at)secure-elements(dot)com>, "Michael Glaesemann" <grzm(at)seespotcode(dot)net>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Autovacuum is running forever
Date: 2007-08-21 21:52:32
Message-ID: E099DB9EF394534CBA0F62ED03CF3BBF05FDBF3A@EXVS01.IceMAIL.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Is there any data corruption/damage to the database if we forcefully
kill autovacuum using cron job (if it is running longer than a
predefined time frame).

Regards
Sachchida

-----Original Message-----
From: Sachchida Ojha
Sent: Tuesday, August 21, 2007 5:46 PM
To: 'Michael Glaesemann'
Cc: 'pgsql-performance(at)postgresql(dot)org'
Subject: RE: [PERFORM] Autovacuum is running forever

Our model is to provode black box solutions to our customer.

Black box, I mean application system, web sever and database is running
on the same machine.

We are running our sensor on 10 assets (windows machine) and sending
asset data to the server at every 15 minutes. There are some other user
operations going on to those assets at the same time.

On server

Cpu util ranging from 10-75%
Mem util ranging from 15-50%

Regards
Sachchida

-----Original Message-----
From: Michael Glaesemann [mailto:grzm(at)seespotcode(dot)net]
Sent: Tuesday, August 21, 2007 5:36 PM
To: Sachchida Ojha
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] Autovacuum is running forever

On Aug 21, 2007, at 16:26 , Sachchida Ojha wrote:
> In my OLTP system, we are inserting, updating and deleting the data
> every second.
>
> Autovacuum started and never finished slowing down the whole system.
There's the possibility that your autovacuum settings aren't aggressive
enough for your system, so it's never able to catch up.
Without knowing details it's hard to say for certain. What are your
autovacuum settings and other details about the load on your system?

Michael Glaesemann
grzm seespotcode net

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alvaro Herrera 2007-08-21 21:54:41 Re: Autovacuum is running forever
Previous Message Scott Marlowe 2007-08-21 21:47:18 Re: Autovacuum running forever