X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B5DE13A494E for ; Fri, 19 Nov 2004 22:28:40 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27572-10 for ; Fri, 19 Nov 2004 22:28:38 +0000 (GMT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by svr1.postgresql.org (Postfix) with ESMTP id 95AB03A4ED9 for ; Fri, 19 Nov 2004 20:53:39 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr4.postgresql.org (Postfix) with ESMTP id DF82D5AF6FD for ; Fri, 19 Nov 2004 20:23:43 +0000 (GMT) Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6686176; Fri, 19 Nov 2004 12:24:35 -0800 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: sort_mem affect on inserts? Date: Fri, 19 Nov 2004 12:25:45 -0800 User-Agent: KMail/1.6.2 Cc: Jan Wieck , David Parker References: <07FDEE0ED7455A48AC42AC2070EDFF7C26BA3D@corpsrv2.tazznetworks.com> <200411171407.30795.josh@agliodbs.com> <419E0466.9090409@Yahoo.com> In-Reply-To: <419E0466.9090409@Yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411191225.45936.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/307 X-Sequence-Number: 9261 Jan, > Hmmm ... what type of foreign key lookup would that be? None of the RI > generated queries has any order by clause. I was under the impression that work_mem would be used for the index if there was an index for the RI lookup. Wrong? -- --Josh Josh Berkus Aglio Database Solutions San Francisco