Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id E256B9FB7EB for ; Wed, 16 May 2007 17:04:09 -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 34169-05 for ; Wed, 16 May 2007 17:04:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 3FC149FB772 for ; Wed, 16 May 2007 17:04:05 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 2EE5630AF3; Wed, 16 May 2007 22:04:03 +0200 (MET DST) From: Chris Browne X-Newsgroups: pgsql.performance Subject: Re: [doc patch] a slight VACUUM / VACUUM FULL doc improvement proposal Date: Wed, 16 May 2007 15:34:42 -0400 Organization: cbbrowne Computing Inc Lines: 23 Message-ID: <608xbotve5.fsf@dba2.int.libertyrms.com> References: <87lkfqavg9.fsf@meuh.mnc.lan> <20070515174427.GG1785@mathom.us> <87hcqdb4g5.fsf@meuh.mnc.lan> <20070516154809.GL14548@nasby.net> <877ir892ss.fsf@meuh.mnc.lan> <20070516160926.GX4582@alvh.no-ip.org> <20070516162035.GI1785@mathom.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux) Cancel-Lock: sha1:2gTOZj/KbcM5h0ZWdmc/bSq1zHo= To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.99 tagged_above=0 required=5 tests=AWL=-0.284, BAYES_50=0.001, INFO_TLD=1.273 X-Spam-Level: X-Archive-Number: 200705/292 X-Sequence-Number: 24682 mstone+postgres@mathom.us (Michael Stone) writes: > On Wed, May 16, 2007 at 12:09:26PM -0400, Alvaro Herrera wrote: >>Maybe, but we should also mention that CLUSTER is a likely faster >>workaround. > > Unless, of course, you don't particularly care about the order of > the items in your table; you might end up wasting vastly more time > rewriting tables due to unnecessary clustering than for full vacuums > on a table that doesn't need it. Actually, this is irrelevant. If CLUSTER is faster than VACUUM FULL (and if it isn't, in all cases, it *frequently* is, and probably will be, nearly always, soon), then it's a faster workaround. -- output = ("cbbrowne" "@" "linuxfinances.info") http://cbbrowne.com/info/oses.html "What if you slept? And what if, in your sleep, you dreamed? And what if, in your dream, you went to heaven and there plucked a strange and beautiful flower? And what if, when you awoke, you had the flower in your hand? Ah, what then?" --Coleridge