Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A3C8D1337B7D for ; Sat, 22 Jan 2011 08:13:33 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 80256-10 for ; Sat, 22 Jan 2011 12:13:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kickstone.com (smtp.kickstone.co.uk [87.194.183.70]) by mail.postgresql.org (Postfix) with ESMTP id 62C391337B5C for ; Sat, 22 Jan 2011 08:13:26 -0400 (AST) Received: from 87-194-183-69.dsl.cnl.uk.net ([87.194.183.69]:2103 helo=MADRAS2) by mail.kickstone.com with esmtpa (Exim 4.71) (envelope-from ) id 1PgcLN-0002s9-Gd for pgsql-admin@postgresql.org; Sat, 22 Jan 2011 12:13:25 +0000 Message-ID: <97DC79D65AF14ABCB98B26C2F8BA5755@squarepi.com> From: "John Lister" To: Subject: Re: Should autovacuum do a database wide vacuum near transaction limit? Date: Sat, 22 Jan 2011 12:13:25 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.986 tagged_above=-10 required=5 tests=BAYES_05=-0.5, FAKE_REPLY_C=1.486 X-Spam-Level: X-Archive-Number: 201101/149 X-Sequence-Number: 36589 Apologies resending to the list as used wrong account... >> Was this expected behaviour with temporary tables? >It's more expected behavior when you have long running transactions. >I haven't seen it caused by temp tables. Was the parent process in a >really long transaction or just open a long time without one? The first thing I checked was for open transactions, but alas there were none. I suspect the process had been open a long time without creating any transactions, but don't know which process it was at this point, the connection was owned by my colleague so need to check with him or look for dead applications... John