Re: Buglist - Mailing list pgsql-general

From Tom Lane
Subject Re: Buglist
Date
Msg-id 20965.1061415678@sss.pgh.pa.us
Whole thread Raw
In response to Re: Buglist  (Andrew Sullivan <andrew@libertyrms.info>)
Responses Re: Buglist  (Edmund Dengler <edmundd@eSentire.com>)
Re: Buglist  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Re: Buglist  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Andrew Sullivan <andrew@libertyrms.info> writes:
>> I disagree.  Triggering a vacuum on a db that is nearly saturating the
>> disk bandwidth has a significant impact.

> Vivek is right about this.  If your system is already very busy, then
> a vacuum on a largish table is painful.

> I don't actually think having the process done in real time will
> help, though -- it seems to me what would be more useful is an even
> lazier vacuum: something that could be told "clean up as cycles are
> available, but make sure you stay out of the way."  Of course, that's
> easy to say glibly, and mighty hard to do, I expect.

I'd love to be able to do that, but I can't think of a good way.

Just nice'ing the VACUUM process is likely to be counterproductive
because of locking issues (priority inversion).  Though if anyone cares
to try it on a heavily-loaded system, I'd be interested to hear the
results...

            regards, tom lane

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Collation rules and multi-lingual databases
Next
From: Dennis Gearon
Date:
Subject: Re: Collation rules and multi-lingual databases