Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id E9E619FA015 for ; Tue, 21 Aug 2007 19:23:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 16481-06 for ; Tue, 21 Aug 2007 19:23:38 -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 247709F9FDD for ; Tue, 21 Aug 2007 19:23:42 -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 18:20:03 -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 18:20:02 -0400 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PERFORM] Autovacuum is running forever Thread-Index: AcfkPtydkZNn1g2gQUKIxLvme2b24gAAm5Bg From: "Sachchida Ojha" To: "Scott Marlowe" Cc: "Michael Glaesemann" , X-OriginalArrivalTime: 21 Aug 2007 22:20:03.0812 (UTC) FILETIME=[6BEE1240:01C7E441] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/344 X-Sequence-Number: 26474 Thanks to all of you. I have changed the settings and reloaded the config. Let me run this system overnight. I will update this forum if new settings works for me. I am also asking management to upgrade the hardware. Thanks a lot. Regards Sachchida -----Original Message----- From: Scott Marlowe [mailto:scott.marlowe@gmail.com]=20 Sent: Tuesday, August 21, 2007 6:05 PM To: Sachchida Ojha Cc: Michael Glaesemann; pgsql-performance@postgresql.org Subject: Re: [PERFORM] Autovacuum is running forever On 8/21/07, Sachchida Ojha wrote: > Is there any data corruption/damage to the database if we forcefully=20 > kill autovacuum using cron job (if it is running longer than a=20 > predefined time frame). Oh, and I'd look at your I/O subsystem. You might want to look at putting $300 hardware RAID cards with battery backed cache and 4 or so disks in a RAID10 in them. It sounds to me like you could use more I/O for your vacuuming. Vacuuming isn't CPU intensive, but it can be I/O intensive.