Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9ECC59FB990 for ; Mon, 11 Jun 2007 10:30:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 22968-03 for ; Mon, 11 Jun 2007 10:30:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id A32D99FB9E1 for ; Mon, 11 Jun 2007 10:30:02 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id l5BDTsTw000452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Jun 2007 07:29:57 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.8/8.13.8) with ESMTP id l5BDTspg032936; Mon, 11 Jun 2007 07:29:54 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.8/8.13.8/Submit) id l5BDTrmv032935; Mon, 11 Jun 2007 07:29:53 -0600 (MDT) (envelope-from mfuhr) Date: Mon, 11 Jun 2007 07:29:53 -0600 From: Michael Fuhr To: Nimesh Satam Cc: Heikki Linnakangas , pgsql-performance@postgresql.org, database@zedo.com Subject: Re: pg_statistic doesnt contain details for specific table Message-ID: <20070611132953.GA32879@winnie.fuhr.org> References: <965aa3ed0706110150g6f5e85bevfb4be0b50b649271@mail.gmail.com> <466D0DB4.2080404@enterprisedb.com> <965aa3ed0706110158r27c9c19aj32a87d9ccf7e2383@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <965aa3ed0706110158r27c9c19aj32a87d9ccf7e2383@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/179 X-Sequence-Number: 25212 On Mon, Jun 11, 2007 at 02:28:32PM +0530, Nimesh Satam wrote: > We have already used analyze command on the table. > We have also ran the vacuum analyze command. > > But they are not helping. Is there any data in the table? What does ANALYZE VERBOSE or VACUUM ANALYZE VERBOSE show for this table? Is there any chance that somebody set all of the columns' statistics targets to zero? -- Michael Fuhr