Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by postgresql.org (Postfix) with ESMTP id A15CB475E41 for ; Fri, 22 Feb 2002 19:52:30 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by tele-post-20.mail.demon.net with esmtp (Exim 3.34 #1) id 16eQQS-0009fe-0K; Sat, 23 Feb 2002 00:52:32 +0000 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.34 #1 (Debian)) id 16eQTq-0000lE-00; Sat, 23 Feb 2002 00:56:02 +0000 Subject: Re: How does Index Scan get used From: Oliver Elphick To: Tom Lane Cc: pgsql-sql@postgresql.org In-Reply-To: <21701.1014423107@sss.pgh.pa.us> References: <018a01c1bbaf$befb84b0$110a010a@headquarters.wcgroup.com> <1014401308.13240.2302.camel@linda> <1014406374.13241.2406.camel@linda> <21701.1014423107@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 23 Feb 2002 00:56:01 +0000 Message-Id: <1014425762.13241.2733.camel@linda> Mime-Version: 1.0 X-Archive-Number: 200202/333 X-Sequence-Number: 6755 On Sat, 2002-02-23 at 00:11, Tom Lane wrote: ... > Oh BTW: the "10 rows" Oliver was wondering about are not the number of > rows the planner thinks are in the table; they're the estimated number > of result rows. Since there's no VACUUM ANALYZE stats available either, > this is just a default selectivity estimate for the match clause (0.01) > times the initial dummy reltuples value (1000). Not much content in it > at all, eh? Thanks, Tom. That was most informative. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "The LORD bless thee, and keep thee; The LORD make his face shine upon thee, and be gracious unto thee; The LORD lift up his countenance upon thee, and give thee peace." Numbers 6:24-26