Re: [BUGS] Vacuum I/O throttling]

2003-09-02 Thread Guy Thornley
On Tue, Sep 02, 2003 at 12:17:28AM -0400, Tom Lane wrote: > Guy Thornley <[EMAIL PROTECTED]> writes: > > What sort of performance numbers are you looking for? Without the throttle, > > I/O is nuked and other database activity takes an age, and with it, its much > > happier? > > Some people say tha

Re: [BUGS] Vacuum I/O throttling

2003-09-02 Thread Tom Lane
Guy Thornley <[EMAIL PROTECTED]> writes: > What sort of performance numbers are you looking for? Without the throttle, > I/O is nuked and other database activity takes an age, and with it, its much > happier? Some people say that VACUUM nukes their performance, and some don't find it to be a probl

Re: [BUGS] Vacuum I/O throttling

2003-09-01 Thread Guy Thornley
On Mon, Sep 01, 2003 at 09:05:33AM -0400, Tom Lane wrote: > Guy Thornley <[EMAIL PROTECTED]> writes: > > Below is a patch for the lazy vacuum. It implements a simple I/O throttle so > > boxen arnt killed for hours a day when VACUUM runs. > > Wasn't this idea tried and rejected already? You haven'

Re: [BUGS] Vacuum I/O throttling

2003-09-01 Thread Bruce Momjian
Tom Lane wrote: > Guy Thornley <[EMAIL PROTECTED]> writes: > > Below is a patch for the lazy vacuum. It implements a simple I/O throttle so > > boxen arnt killed for hours a day when VACUUM runs. > > Wasn't this idea tried and rejected already? You haven't given us any > information about actual

Re: [BUGS] Vacuum I/O throttling

2003-09-01 Thread Tom Lane
Guy Thornley <[EMAIL PROTECTED]> writes: > Below is a patch for the lazy vacuum. It implements a simple I/O throttle so > boxen arnt killed for hours a day when VACUUM runs. Wasn't this idea tried and rejected already? You haven't given us any information about actual performance. > The usleep()

[BUGS] Vacuum I/O throttling

2003-09-01 Thread Guy Thornley
Below is a patch for the lazy vacuum. It implements a simple I/O throttle so boxen arnt killed for hours a day when VACUUM runs. Patch includes a paragraph for the manual. The new setting is VACUUM_THROTTLE. It can be SET from a client connection, too. The usleep() could be replaced with a select(