Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 12DE7B5DBC4 for ; Thu, 9 Jun 2011 23:25:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 73163-02; Fri, 10 Jun 2011 02:25:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 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 AD3AEB5DBBE; Thu, 9 Jun 2011 23:25:24 -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 p5A2PONA006666; Thu, 9 Jun 2011 22:25:24 -0400 (EDT) To: Tatsuo Ishii cc: sfrost@snowman.net, tcapobianco@prospectiv.com, pgsql-performance@postgresql.org Subject: Re: Oracle v. Postgres 9.0 query performance In-reply-to: <20110610.112143.168304625710382767.t-ishii@sraoss.co.jp> References: <10260.1307547185@sss.pgh.pa.us> <1307547634.1990.26.camel@tony1.localdomain> <20110608155159.GA18128@tamriel.snowman.net> <20110610.112143.168304625710382767.t-ishii@sraoss.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Fri, 10 Jun 2011 11:21:43 +0900" Date: Thu, 09 Jun 2011 22:25:24 -0400 Message-ID: <6665.1307672724@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: 201106/107 X-Sequence-Number: 44040 Tatsuo Ishii writes: > Just out of curiosity, is there any chance that this kind of query is > speeding up in 9.1 because of following changes? > * Allow FULL OUTER JOIN to be implemented as a hash join, and allow > either side of a LEFT OUTER JOIN or RIGHT OUTER JOIN to be hashed > (Tom Lane) The given query wasn't an outer join, so this wouldn't affect it. regards, tom lane