Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 245209FB4C7 for ; Wed, 16 May 2007 13:00:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 75207-09 for ; Wed, 16 May 2007 13:00:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.mnc.ch (62-2-77-205.static.cablecom.ch [62.2.77.205]) by postgresql.org (Postfix) with ESMTP id CEA1C9FB469 for ; Wed, 16 May 2007 13:00:21 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail.mnc.ch (Postfix) with ESMTP id 92FD6A82A5; Wed, 16 May 2007 18:00:20 +0200 (CEST) Received: from mail.mnc.ch ([127.0.0.1]) by localhost (mail.test.lan [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 06867-03; Wed, 16 May 2007 18:00:19 +0200 (CEST) Received: from meuh.mnc.lan (62-2-77-204.static.cablecom.ch [62.2.77.204]) by mail.mnc.ch (Postfix) with ESMTP id 8F96AA82D6; Wed, 16 May 2007 18:00:19 +0200 (CEST) Received: by meuh.mnc.lan (Postfix, from userid 1000) id 8DDD3183679; Wed, 16 May 2007 18:00:19 +0200 (CEST) To: "Jim C. Nasby" Cc: Michael Stone , pgsql-performance@postgresql.org Subject: Re: [doc patch] a slight VACUUM / VACUUM FULL doc improvement proposal References: <87lkfqavg9.fsf@meuh.mnc.lan> <20070515174427.GG1785@mathom.us> <87hcqdb4g5.fsf@meuh.mnc.lan> <20070516154809.GL14548@nasby.net> X-Hashcash: 1:20:070516:decibel@decibel.org::YOhFPBbKw/0Df4q2:00000000000000000000000000000000000000000015bA X-Hashcash: 1:20:070516:mstone@mathom.us::pC7tG8YduONayTW8:07fXA From: Guillaume Cottenceau Date: 16 May 2007 18:00:19 +0200 In-Reply-To: <20070516154809.GL14548@nasby.net> Message-ID: <877ir892ss.fsf@meuh.mnc.lan> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at mnc.ch X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/288 X-Sequence-Number: 24678 "Jim C. Nasby" writes: > On Wed, May 16, 2007 at 09:41:46AM +0200, Guillaume Cottenceau wrote: [...] > > Come on, I don't suggest to remove several bold warnings about > > it, the best one being "Therefore, frequently using VACUUM FULL > > can have an extremely negative effect on the performance of > > concurrent database queries." My point is to add the few > > additional mentions; I don't think the claims that VACUUM FULL > > physically compacts the data, and might be useful in case of too > > long time with infrequent VACUUM are incorrect, are they? > > Unfortunately they are, to a degree. VACUUM FULL can create a > substantial amount of churn in the indexes, resulting in bloated > indexes. So often you have to REINDEX after you VACUUM FULL. Ok, VACUUM FULL does his job (it physically compacts the data and might be useful in case of too long time with infrequent VACUUM), but we are going to not talk about it because we often needs a REINDEX after it? The natural conclusion would rather be to document the fact than REINDEX is needed after VACUUM FULL, isn't it? -- Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36