Re: Vacuum Cost Documentation?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Vacuum Cost Documentation?
Date: 2004-08-07 17:39:20
Message-ID: 200408071739.i77HdKk00742@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-07 17:41:40 Re: Backend crashes with notification rule
Previous Message Bruce Momjian 2004-08-07 17:33:32 Re: PITR - recovery to a particular transaction