X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 477EED1B3CE for ; Mon, 24 May 2004 14:21:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 29036-03 for ; Mon, 24 May 2004 14:20:58 -0300 (ADT) Received: from web13123.mail.yahoo.com (web13123.mail.yahoo.com [216.136.174.141]) by svr1.postgresql.org (Postfix) with SMTP id ED2CCD1BAF5 for ; Mon, 24 May 2004 14:20:55 -0300 (ADT) Message-ID: <20040524172056.26507.qmail@web13123.mail.yahoo.com> Received: from [63.78.248.48] by web13123.mail.yahoo.com via HTTP; Mon, 24 May 2004 10:20:56 PDT Date: Mon, 24 May 2004 10:20:56 -0700 (PDT) From: Litao Wu Subject: Re: index's relpages after table analyzed To: Litao Wu , pgsql-performance@postgresql.org In-Reply-To: <20040524165112.72633.qmail@web13126.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/198 X-Sequence-Number: 7029 From PG http://developer.postgresql.org/docs/postgres/diskusage.html: "(Remember, relpages is only updated by VACUUM and ANALYZE.)" --- Litao Wu wrote: > Hi, > > After a table analyzed a table, the table's relpages > > of pg_class gets updated, but not those of > associated > indexes, which can be updated by "vacuum analyze". > > Is this a feature or a bug? > > I have some tables and there are almost only > inserts. So I do not care about the "dead tuples", > but do care about the statistics. > > Does the above "future/bug" affect the performance? > > My PG version is 7.3.2. > > Thanks, > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Domains ?Claim yours for only $14.70/year > http://smallbusiness.promotions.yahoo.com/offer > > ---------------------------(end of > broadcast)--------------------------- > TIP 8: explain analyze is your friend __________________________________ Do you Yahoo!? Yahoo! Domains – Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer