X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 749744758F1 for ; Thu, 17 Apr 2003 10:56:51 -0400 (EDT) Received: from rtlocal.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id D77CF475458 for ; Thu, 17 Apr 2003 10:56:35 -0400 (EDT) Received: (qmail 21601 invoked from network); 17 Apr 2003 14:59:23 -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 14:59:23 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: Tom Lane Subject: Re: analyse question.. Date: Thu, 17 Apr 2003 20:26:36 +0530 User-Agent: KMail/1.5 Cc: pgsql-sql@postgresql.org References: <200304171351.19189.mallah@trade-india.com> <10379.1050589051@sss.pgh.pa.us> In-Reply-To: <10379.1050589051@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304172026.36334.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/274 X-Sequence-Number: 12975 On Thursday 17 Apr 2003 7:47 pm, Tom Lane wrote: > Rajesh Kumar Mallah writes: > > Do we need to analyze a table after indexing ? > > No. > > > we observed that an already analyzed table had to be > > re-analyzed after index creation for index usage . > > I think you must have made a mistake. Creating an index doesn't > touch pg_statistic. Doesnt' it mean we shud analyze after index creation so that statiscs are updated? (as u said creating index does not touch pg_statistics). PS: this is the same table "profile_master" abt with i have posted a different question. > > regards, tom lane > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org -- 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.