Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 4DB52633E02 for ; Thu, 1 Apr 2010 17:10:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 20730-03 for ; Thu, 1 Apr 2010 20:09:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from EXHUB018-2.exch018.msoutlookonline.net (exhub018-2.exch018.msoutlookonline.net [64.78.17.17]) by mail.postgresql.org (Postfix) with ESMTP id 71E10633E05 for ; Thu, 1 Apr 2010 17:09:59 -0300 (ADT) Received: from EXVMBX018-1.exch018.msoutlookonline.net ([64.78.17.47]) by EXHUB018-2.exch018.msoutlookonline.net ([64.78.17.17]) with mapi; Thu, 1 Apr 2010 13:09:58 -0700 From: Scott Carey To: Robert Haas CC: Andy Colson , Gnanakumar , "pgsql-performance@postgresql.org" Date: Thu, 1 Apr 2010 13:08:46 -0700 Subject: Re: Database size growing over time and leads to performance impact Thread-Topic: [PERFORM] Database size growing over time and leads to performance impact Thread-Index: AcrR101gbPvLeg31TqeJ1J8k1UXmqg== Message-ID: <0E67806D-BED3-4998-83C7-842BEC6447AF@richrelevance.com> References: <004701cacdad$7013e9f0$503bbdd0$@com> <4BAE09AE.9020305@squeakycode.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.543 tagged_above=-10 required=5 tests=AWL=0.056, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201004/15 X-Sequence-Number: 38265 On Mar 31, 2010, at 1:47 PM, Robert Haas wrote: > On Wed, Mar 31, 2010 at 4:37 PM, Scott Carey wr= ote: >> On Mar 27, 2010, at 6:35 AM, Andy Colson wrote: >>>=20 >>> Dont "VACUUM FULL", its not helping you, and is being removed in newer = versions. >>>=20 >>=20 >> Off topic: How is that going to work? CLUSTER doesn't work on tables w= ithout an index. I would love to be able to CLUSTER on some column set tha= t doesn't necessarily have an index. >=20 > I believe the new VF implementation just rewrites the data in the same > physical order as it was in previously, but without the dead space. > So it's sort of like cluster-by-no-index-at-all. >=20 Still off topic: Will CLUSTER/VF respect FILLFACTOR in 9.0? As far as I can tell in 8.4, it does not. CLUSTER on a table with FILLFACT= OR=3D100, then alter the table to FILLFACTOR=3D90, cluster again -- the fil= e size reported by \dt+ is the same. This is a fairly big performance issu= e since it means that HOT doesn't function well on a table just CLUSTERed. > ...Robert