X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A7DB09DC83A for ; Tue, 31 Jan 2006 15:52:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39117-07 for ; Tue, 31 Jan 2006 15:52:06 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 8B7219DC819 for ; Tue, 31 Jan 2006 15:52:04 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id B358C39841; Tue, 31 Jan 2006 13:52:05 -0600 (CST) Date: Tue, 31 Jan 2006 13:52:05 -0600 From: "Jim C. Nasby" To: Chris Browne Cc: pgsql-general@postgresql.org Subject: Re: VACUUM Question Message-ID: <20060131195205.GY95850@pervasive.com> References: <002a01c622ac$41555af0$1f12fea9@homisco.local> <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> <603bjan12y.fsf@dba2.int.libertyrms.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <603bjan12y.fsf@dba2.int.libertyrms.com> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.102 required=5 tests=[AWL=0.102] X-Spam-Score: 0.102 X-Spam-Level: X-Archive-Number: 200601/1695 X-Sequence-Number: 90640 On Thu, Jan 26, 2006 at 04:14:45PM -0500, Chris Browne wrote: > > As for Reindex, I'm not entirely sure, I don't think you would benefit > > from reindex because you aren't updating or deleting. Can anyone comment > > on this? Is is possibile that a table with lots of inserts resulting in > > lots of page splits etc could ever benifit form REINDEX? > > I could imagine a CLUSTER doing some good, and if that's the case, > REINDEX could have some favorable results. But you'd better have a > real specific model as to why that would be... Aside from the cluster case, are there any issues with how page splits in the b-tree are done that could lead to better performance after a REINDEX? -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461