Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 4C9609FBCD0 for ; Tue, 19 Jun 2007 14:53:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 13657-07 for ; Tue, 19 Jun 2007 14:52:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id DF5399FBC7F for ; Tue, 19 Jun 2007 14:52:53 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-13-143-52.bk13-dsl.surnet.cl [190.13.143.52]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l5JHqqwO000717; Tue, 19 Jun 2007 10:52:53 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0DD8032A23; Tue, 19 Jun 2007 13:52:50 -0400 (CLT) Date: Tue, 19 Jun 2007 13:52:50 -0400 From: Alvaro Herrera To: Bill Willits Cc: pgsql-admin@postgresql.org Subject: Re: reindex in v8.2 Message-ID: <20070619175250.GB21268@alvh.no-ip.org> References: <004201c7b299$4ceb7bf0$b601a8c0@bwlaptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004201c7b299$4ceb7bf0$b601a8c0@bwlaptop> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Tue, 19 Jun 2007 10:52:53 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/186 X-Sequence-Number: 25854 Bill Willits wrote: > Hello: > > We are in the process of upgrading posgres from v7.3.9 to v8.2.4 In > our current environment (v7.3), we run a reindex operation on all > tables to recover space and improve performance (we have several > tables with high insert/update load - no deletes). Is it likely that > the reindex will still be beneficial after the upgrade? Or has the pg > code changed such that this operation is obsolete? The index code was improved in 7.4, but some reindexing is still needed in (rarer) corner cases. Try getting rid of the reindex and track your indexes sizes for a while. If you don't notice a problem you can forget it entirely. Most people gets away without it. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.