X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 87BA75E3E30 for ; Sat, 7 Aug 2004 14:39:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77867-08 for ; Sat, 7 Aug 2004 17:39:23 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 883225E3AC5 for ; Sat, 7 Aug 2004 14:39:23 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i77HdKk00742; Sat, 7 Aug 2004 13:39:20 -0400 (EDT) From: Bruce Momjian Message-Id: <200408071739.i77HdKk00742@candle.pha.pa.us> Subject: Re: Vacuum Cost Documentation? In-Reply-To: <4114DC23.6090108@Yahoo.com> To: Jan Wieck Date: Sat, 7 Aug 2004 13:39:20 -0400 (EDT) Cc: "Matthew T. O'Connor" , "pgsql-hackers@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/353 X-Sequence-Number: 57323 Jan Wieck wrote: > On 8/6/2004 11:34 PM, Bruce Momjian wrote: > > > Jan Wieck wrote: > >> On 8/6/2004 9:04 PM, Bruce Momjian wrote: > >> > >> > Updated. Thanks. > >> > >> I thought we want to have the feature activated ... I reversed your > >> change and brought guc.c in sync instead. > > > > Uh, if the guy is doing a vacuum at night, does he want the delay? > > Seems someone should have to enable the delay by default, or does your > > setup recoginize when it is being run on a lightly loaded system? > > > > > > Those people will instantly realize what is going on and either change > the delay setting or start running vacuum at daytime too. > > What this buys us is that over time we will see less researches and > articles telling people that you have to bring down a PostgreSQL DB > frequently for vacuum maintenance because those "testers" run their fair > comparisions with out of the box configuration settings. I am not in favor of adding a delay in VACUUM unless people ask for it. Imagine either night vacuum or a vacuum you run in your application after you delete and just before you load a table. Neither want a vacuum. I think people who want a delay will think to ask for it while people who want a quick vacuum will just think that vacuum is slow. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073