Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C5A6A64FEAF for ; Wed, 17 Dec 2008 11:20:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 94884-03-5 for ; Wed, 17 Dec 2008 11:20:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kickstone.com (smtp.kickstone.com [87.194.183.70]) by mail.postgresql.org (Postfix) with ESMTP id 901076503C6 for ; Wed, 17 Dec 2008 11:20:44 -0400 (AST) Received: from madras2.square-pi.com ([192.168.2.131] helo=MADRAS2) by mail.kickstone.com with esmtpa (Exim 4.69) (envelope-from ) id 1LCyCX-0003x4-7g; Wed, 17 Dec 2008 15:20:41 +0000 Message-ID: From: "John Lister" To: "Tom Lane" Cc: References: <2BB7361E57C4417A975C0474610BA4C3@squarepi.com> <27759.1229521625@sss.pgh.pa.us> <742A9D77A1BA4171AF52BBBF6F5F2C75@squarepi.com> <28510.1229525243@sss.pgh.pa.us> Subject: Re: controlling autovacuum during the day. Date: Wed, 17 Dec 2008 15:20:41 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=STOX_REPLY_TYPE=0.001 X-Spam-Level: X-Archive-Number: 200812/126 X-Sequence-Number: 30959 > "John Lister" writes: >> Cheers for the quick reply. I've tweaked them quite a bit, but we have >> quite >> a few heavily updated tables that i'd like vacuuming to keep them in >> check. >> Unfortunately the autovacuum does a FULL vacuum every so often locking >> the >> tables for quite a long time, i'd like to move these to the evening if >> possible. > > Huh? Autovacuum *never* does VACUUM FULL. bizarre... Its been turned off for a while, but from memory the autovacuum process was causing the table it was running on to be locked - I assumed this was an equivalent to VACUUM FULL - causing all other connections to wait until it had finished. Could this happen another way, i thought the other vacuum options acted passively... I'll turn it back on and see what happens...