Re: really lazy vacuums? - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: really lazy vacuums?
Date
Msg-id 1CA5FCA1-5E17-44F6-8A7D-02B24C104D61@nasby.net
Whole thread Raw
In response to Re: really lazy vacuums?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: really lazy vacuums?
List pgsql-hackers
On Mar 16, 2011, at 7:44 PM, Robert Haas wrote:
> It
> would be really nice (for this and for other things) if we had some
> way of measuring the I/O saturation of the system, so that we could
> automatically adjust the aggressiveness of background processes
> accordingly.

Has anyone looked at the overhead of measuring how long IO requests to the kernel take? If we did that not only could
weget an idea of what our IO workload looked like, we could also figure out whether a block came out of cache or not.
Thatinformation could potentially be useful to the planner, but even if the database couldn't use that knowledge itself
itwould be a damn useful statistic to have... IMHO, far more useful than our current hit rate statistics. 
--
Jim C. Nasby, Database Architect                   jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net




pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Chinese initdb on Windows
Next
From: Radosław Smogura
Date:
Subject: Re: 2nd Level Buffer Cache