Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C2DF99F957C for ; Tue, 21 Aug 2007 18:56:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 51553-05 for ; Tue, 21 Aug 2007 18:56:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp.icemail.com (unknown [66.117.50.180]) by postgresql.org (Postfix) with ESMTP id 5CEFE9F950F for ; Tue, 21 Aug 2007 18:56:13 -0300 (ADT) Received: from EXVS01.IceMAIL.com ([10.2.23.110] RDNS failed) by smtp.icemail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 21 Aug 2007 17:52:34 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Re: Autovacuum is running forever Date: Tue, 21 Aug 2007 17:52:32 -0400 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PERFORM] Autovacuum is running forever Thread-Index: AcfkOslrj0I1BNkhQxS37NRGJvc4rgAAZ0UgAABSebA= From: "Sachchida Ojha" To: "Sachchida Ojha" , "Michael Glaesemann" Cc: X-OriginalArrivalTime: 21 Aug 2007 21:52:34.0973 (UTC) FILETIME=[952534D0:01C7E43D] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/220 X-Sequence-Number: 26350 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=20 Sent: Tuesday, August 21, 2007 5:46 PM To: 'Michael Glaesemann' Cc: 'pgsql-performance@postgresql.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.=20 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=20 Cpu util ranging from 10-75% Mem util ranging from 15-50% Regards Sachchida -----Original Message----- From: Michael Glaesemann [mailto:grzm@seespotcode.net] Sent: Tuesday, August 21, 2007 5:36 PM To: Sachchida Ojha Cc: pgsql-performance@postgresql.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=20 > 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. =20 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