Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4DDF81337B51 for ; Sat, 22 Jan 2011 05:36:34 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 92429-03 for ; Sat, 22 Jan 2011 09:36:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mail.postgresql.org (Postfix) with ESMTP id 9C5A51337B47 for ; Sat, 22 Jan 2011 05:36:26 -0400 (AST) Received: by wwf26 with SMTP id 26so2706177wwf.19 for ; Sat, 22 Jan 2011 01:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iqvQWoWQWsPIxQZQvRJPDMbMKV4Rpz0dU+2w+GvxXRg=; b=NiTBQXP0e+BZdGudVzl2PoMIRxnG+ndPCVeUP6lRDXj0ey7/lJznrGOHKAKk1/H1c8 C3cE17Nqr0esvGQFwEuZWqUX5PPIAILPaRscRV3BLjs0Wm46+2g/9DGjCSo92ti7bnhE dbAsUcVkFAo5Mmi+qF1e+CeNKRvzFn/EdIodQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HXj3fMatoxL8JnHf8+yBZ9r4k2PLZF7xU1e8GpDT0nGrwPog1pz40PtGdM6mtlzl0K ZbILHUeWBM8i9a3B0YNpBGPIWIn948n7rNtEezlRy0KI3uszaHqrDp5pPWhzXHeHW2JC Cjle4NcvPjz8jGMZXRbANzzNL7lSwlGQXsHNs= MIME-Version: 1.0 Received: by 10.227.180.134 with SMTP id bu6mr1892970wbb.183.1295688985580; Sat, 22 Jan 2011 01:36:25 -0800 (PST) Received: by 10.227.180.79 with HTTP; Sat, 22 Jan 2011 01:36:25 -0800 (PST) In-Reply-To: <4D3AA304.7070506@kickstone.com> References: <927BF3A3F54247FF8C63219A00CE98B5@squarepi.com> <1427.1295651046@sss.pgh.pa.us> <2081.1295653238@sss.pgh.pa.us> <4D3AA304.7070506@kickstone.com> Date: Sat, 22 Jan 2011 02:36:25 -0700 Message-ID: Subject: Re: Should autovacuum do a database wide vacuum near transaction limit? From: Scott Marlowe To: John Lister Cc: Tom Lane , John Lister , pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201101/148 X-Sequence-Number: 36588 On Sat, Jan 22, 2011 at 2:27 AM, John Lister wr= ote: > Instead I tried to vacuum them, but this didn't make any difference (or > indeed do anything), so in the end I deleted the tables manually instead, > which instantly reset the transaction count back to the 1billion mark. = =A0I > now need to find out which process probably died due to its temp tables > disappearing, again they appeared odd - single alphabetical names - which= I > wasn't expecting... > > 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?