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 E5F258B9F4B for ; Thu, 3 Feb 2005 16:25:48 +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 46535-07 for ; Thu, 3 Feb 2005 16:25:37 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B40B68B9F61 for ; Thu, 3 Feb 2005 16:25:37 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j13GPVL6016695; Thu, 3 Feb 2005 11:25:31 -0500 (EST) To: David Brown Cc: pgsql-performance@postgresql.org Subject: Re: Planner really hates nested loops In-reply-to: <420206AD.8040206@bigpond.net.au> References: <420206AD.8040206@bigpond.net.au> Comments: In-reply-to David Brown message dated "Thu, 03 Feb 2005 21:10:37 +1000" Date: Thu, 03 Feb 2005 11:25:31 -0500 Message-ID: <16694.1107447931@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/68 X-Sequence-Number: 10397 David Brown writes: > I'm hoping someone can shed some light on these results. Not without a lot more detail on how you *got* the results. What exactly did you do to force the various plan choices? (I see some ridiculous choices of indexscans, for instance, suggesting improper use of enable_seqscan in some cases.) And what's the "cache rows" and "disk rows" stuff, and how do you know that what you were measuring is actually what you think it is? I have zero confidence in Windows-atop-ATA as a platform for measuring disk-related behaviors, because I don't think you can control or even know what caching is going on. regards, tom lane