Re: Nice vacuums

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Nice vacuums
Date: 2004-10-22 16:06:20
Message-ID: 7715.1098461180@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"D'Arcy J.M. Cain" <darcy(at)druid(dot)net> writes:
> I have an idea for a change to the contributed module pg_autovacuum that
> I would like to run by people. What I want to do is make sure that when
> vacuum (or analyze) runs that it takes no time from actual transactions.
> To this end I want to add an option (-n?) which runs nice(2) on the
> process ID of the backend.

Please re-read all the previous threads on the uselessness of nice.

What *would* be useful is an option to turn on the 8.0 vacuum cost delay
features (ie, set non-default values for those GUC variables).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paesold 2004-10-22 16:23:46 Re: Nice vacuums
Previous Message ohp 2004-10-22 16:00:05 Unixware 714 pthreads