X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 94794D7859 for ; Fri, 26 Aug 2005 03:21:14 -0300 (ADT) 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 67689-06 for ; Fri, 26 Aug 2005 06:21:11 +0000 (GMT) Received: from mail.nordicbet.com (mail.nordicbet.com [193.69.167.130]) by svr1.postgresql.org (Postfix) with ESMTP id 60568D7838 for ; Fri, 26 Aug 2005 03:21:09 -0300 (ADT) Received: from [80.203.125.83] (helo=tobias.nordicbet.invalid) (Authenticated Sender=tobias@nordicbet.com) by mail.nordicbet.com with esmtpa (Exim 4.50 #1 (Debian)) id 1E8XXp-0006yn-GO; Fri, 26 Aug 2005 08:18:39 +0200 Received: by tobias.nordicbet.invalid (Postfix, from userid 500) id 8FB69DECFD; Fri, 26 Aug 2005 08:20:51 +0200 (CEST) Date: Fri, 26 Aug 2005 08:20:51 +0200 From: Tobias Brox To: Mark Kirkwood Cc: Tobias Brox , pgsql-performance@postgresql.org Subject: Re: Limit + group + join Message-ID: <20050826062051.GN10328@tobias.lan> References: <20050826002709.GK10328@tobias.lan> <430E85ED.60109@paradise.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <430E85ED.60109@paradise.net.nz> Organization: Group Nordicbet User-Agent: Mutt/1.5.10i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/433 X-Sequence-Number: 14180 [Mark Kirkwood - Fri at 03:01:01PM +1200] > Tobias, > Interesting example: > > The 'desc' seems to be the guy triggering the sort, e.g: Oh; really an accident that I didn't notice myself, I was actually going to remove all instances of "desc" in my simplification, but seems like I forgot. > However being a bit brutal: > > set enable_mergejoin=false; > set enable_hashjoin=false; :-) maybe I can use that in production. I'll check. -- Notice of Confidentiality: This information may be confidential, and blah-blah-blah - so please keep your eyes closed. Please delete and destroy this email. Failure to comply will cause my lawyer to yawn.