On Mar 12, 2007, at 10:57 PM, Tom Lane wrote:
Tom, Thanks for your insights on this. To be honest, I was kind of expecting you or one of the other core guys to stand up and say, "bgwriter!" as I already expected that if there wasn't currently any accounting from the bgwriter this wouldn't really be feasible. What are the odds of you guys putting this on a your TODO list for a future postgres release? Tracking disk level io in both directions would be an invaluable tool for profiling our db over time in order to correlate different kinds of usage of our app with the numbers we get from iostat et al. Yes, on Solaris (and soon, Linux) DTrace is available for attaching to single processes and tracking what they are doing at the moment, but that doesn't give me the ability to answer the question: "We had reports of app slowness last night, we see via iostat that there was a huge io spike at the time, was it all postgres? Also, are there any usage scenarios where having the bgwriter on could be detrimental to system performance that we should watch for? erik jones <erik@xxxxxxxxxx> sofware developer 615-296-0838 emma(r) |