Re: Return of the Solaris vacuum polling problem -- anyone remember this? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Return of the Solaris vacuum polling problem -- anyone remember this?
Date
Msg-id 8599.1282158010@sss.pgh.pa.us
Whole thread Raw
In response to Re: Return of the Solaris vacuum polling problem -- anyone remember this?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Return of the Solaris vacuum polling problem -- anyone remember this?
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> What I find interesting about that trace is the large proportion of
>> writes.  That appears to me to indicate that it's *not* a matter of
>> vacuum delays, or at least not just a matter of that.  The process seems
>> to be getting involved in having to dump dirty buffers to disk.  Perhaps
>> the background writer is malfunctioning?

> You appear to be correct in that it's write-related.  Will be testing on
> what specificially is producing it.

> Note that this is one of two ostensibly duplicate servers, and the issue
> has never appeared on the other server.

On further reflection, though: since we put in the BufferAccessStrategy
code, which was in 8.3, the background writer isn't *supposed* to be
very much involved in writing pages that are dirtied by VACUUM.  VACUUM
runs in a small ring of buffers and is supposed to have to clean its own
dirt most of the time.  So it's wrong to blame this on the bgwriter not
holding up its end.  Rather, what you need to be thinking about is how
come vacuum seems to be making lots of pages dirty on only one of these
machines.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Return of the Solaris vacuum polling problem -- anyone remember this?
Next
From: Josh Berkus
Date:
Subject: Re: Return of the Solaris vacuum polling problem -- anyone remember this?