Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 69596632829 for ; Wed, 25 Aug 2010 11:24:58 -0300 (ADT) 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 26437-08 for ; Wed, 25 Aug 2010 14:24:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 10F306322C1 for ; Wed, 25 Aug 2010 11:24:50 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o7PEOnfu019500; Wed, 25 Aug 2010 10:24:49 -0400 (EDT) To: gnanam@zoniac.com cc: pgsql-admin@postgresql.org Subject: Re: Autovacuum daemon & TEMPORARY tables In-reply-to: <000001cb4442$c7599be0$560cd3a0$@com> References: <000001cb4442$c7599be0$560cd3a0$@com> Comments: In-reply-to "Gnanakumar" message dated "Wed, 25 Aug 2010 16:16:27 +0530" Date: Wed, 25 Aug 2010 10:24:48 -0400 Message-ID: <19499.1282746288@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/217 X-Sequence-Number: 35466 "Gnanakumar" writes: > Does autovacuum daemon work on tables created with TEMPORARY syntax? No. It can't, because it's unsafe for any session except the creating session to touch a temporary table. The performance optimizations used for temp tables have that unfortunate side-effect. regards, tom lane