X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D2C869F946D for ; Tue, 9 May 2006 07:52:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 41685-03 for ; Tue, 9 May 2006 07:52:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.ecircle.de (mail.ecircle.de [195.140.186.200]) by postgresql.org (Postfix) with ESMTP id B0A499F931D for ; Tue, 9 May 2006 07:52:09 -0300 (ADT) Received: from deimos.muc.ecircle.de (deimos.muc.ecircle.de [192.168.1.4]) by mail.ecircle.de (READY) with ESMTP id A073255C22F; Tue, 9 May 2006 12:52:06 +0200 (CEST) Received: from [192.168.1.91] ([192.168.1.91]) by deimos.muc.ecircle.de with Microsoft SMTPSVC(5.0.2195.6713); Tue, 9 May 2006 12:52:16 +0200 Subject: Re: [HACKERS] Big IN() clauses etc : feature proposal From: Csaba Nagy To: Martijn van Oosterhout Cc: PFC , postgres performance list In-Reply-To: <20060509103632.GD29652@svana.org> References: <445F7FF8.6070707@comcast.net> <1147110142.32369.7.camel@archimedes> <20060508175013.GY99570@pervasive.com> <28288.1147111196@sss.pgh.pa.us> <20060509105214.P90693@vesihiisi.cksoft.de> <20060509113337.M90693@vesihiisi.cksoft.de> <20060509103632.GD29652@svana.org> Content-Type: text/plain Message-Id: <1147171926.14093.242.camel@coppola.muc.ecircle.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 09 May 2006 12:52:06 +0200 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 May 2006 10:52:17.0123 (UTC) FILETIME=[A3544B30:01C67356] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/175 X-Sequence-Number: 18962 [snip] > It would be interesting to know what the bottleneck is for temp tables > for you. They do not go via the buffer-cache, they are stored in [snip] Is it possible that the temp table creation is the bottleneck ? Would that write into system catalogs ? If yes, maybe the system catalogs are not adequately vacuumed/analyzed. Just a thought. Cheers, Csaba.