Re: Vacuum thoughts - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Vacuum thoughts
Date
Msg-id 1066423711.581.58.camel@tokyo
Whole thread Raw
In response to Vacuum thoughts  (Greg Stark <gsstark@mit.edu>)
Responses Re: Vacuum thoughts
List pgsql-hackers
On Fri, 2003-10-17 at 16:22, Greg Stark wrote:
> If it's just a matter of all the read i/o from vacuum then we're best off
> sleeping for a few milliseconds every few kilobytes. If it's the cache then
> we're probably better off reading a few megabytes and then sleeping for
> several seconds to allow the other buffers to get touched and pushed back to
> the front of the LRU.

Uh, no -- if it is the cache, we're better off fixing the buffer
replacement policy, not trying to hack around it. Replacement policies
that don't suffer from sequential flooding are well known.

-Neil




pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Writers Wanted
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: Some thoughts about i/o priorities and throttling vacuum