X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0B26C4758F1 for ; Thu, 17 Apr 2003 11:12:26 -0400 (EDT) Received: from rtlocal.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id 20158475458 for ; Thu, 17 Apr 2003 11:12:13 -0400 (EDT) Received: (qmail 21714 invoked from network); 17 Apr 2003 15:15:03 -0000 Received: from system67.trade-india-local.com (192.168.0.67) by infocom-236-129-del.trade-india.com with SMTP; 17 Apr 2003 15:15:03 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: Stephan Szabo Subject: Re: planner question.. Date: Thu, 17 Apr 2003 20:42:16 +0530 User-Agent: KMail/1.5 Cc: References: <20030417071102.V87131-100000@megazone23.bigpanda.com> In-Reply-To: <20030417071102.V87131-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304172042.16034.mallah@trade-india.com> X-Spam-Status: No, hits=-33.7 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REFERENCES,REPLY_WITH_QUOTES, SIGNATURE_SHORT_SPARSE,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/276 X-Sequence-Number: 12977 On Thursday 17 Apr 2003 7:42 pm, Stephan Szabo wrote: > On Thu, 17 Apr 2003, Rajesh Kumar Mallah wrote: > > I think there shud be more documentation on > > understanding EXPLAIN (ANALYZE) output. > > once i found an webpage but lost it. > > I believe there's one inside the docs on performance or optimization. I have seen that and saw a better one somewhere else which i cant recall. > > where do u see its expecting 5000 not 100000? > > > > > > | Aggregate (cost=23982.58..23982.58 rows=1 width=0) (actual > > > > | time=22872.97..22872.97 rows=1 loops=1) | > > > > | -> Seq Scan on profile_master (cost=0.00..23970.40 rows=4871 > > > > | width=0) (actual time=328.44..22730.69 rows=102090 loops=1) | > > In the Seq Scan line, it's got rows=4871. That's the number it thinks are > going to match the filter/index condition. Thanks for spotting , i will go thru the docs once again though :) regds mallah. -- Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.