X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 445479DCB68 for ; Tue, 20 Dec 2005 20:33:41 -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 96803-07 for ; Tue, 20 Dec 2005 20:33:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (unknown [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 8A5689DCB65 for ; Tue, 20 Dec 2005 20:33:36 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 0366B39836; Tue, 20 Dec 2005 18:33:40 -0600 (CST) Date: Tue, 20 Dec 2005 18:33:39 -0600 From: "Jim C. Nasby" To: ipv@tinet.org Cc: pgsql-sql@postgresql.org Subject: Re: Does VACUUM reorder tables on clustered indices Message-ID: <20051221003339.GB72143@pervasive.com> References: <1134940325.43a5d0a5a882e@webmail.adontendev.net> <20051218220139.GA1651@surnet.cl> <20051220214124.GR28771@pervasive.com> <00e001c605bd$e23ca1a0$0600000a@d505> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00e001c605bd$e23ca1a0$0600000a@d505> 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.045 required=5 tests=[AWL=0.045] X-Spam-Score: 0.045 X-Spam-Level: X-Archive-Number: 200512/184 X-Sequence-Number: 23726 On Wed, Dec 21, 2005 at 12:34:12AM +0100, ipv@tinet.org wrote: > Hi, > > Utilize CLUSTER; (after vacuum) to reorder the data. Why would you vacuum when cluster is just going to wipe out the dead tuples anyway? > >>Note that while reordering, CLUSTER also gets rid of dead tuples, so if > >>you cluster you don't need to vacuum. > > > >It also does 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