Re: Tracking disk writes? (again) - Mailing list pgsql-general

From Erik Jones
Subject Re: Tracking disk writes? (again)
Date
Msg-id 1C6F7657-0F38-414D-A66B-0616A210EBF4@myemma.com
Whole thread Raw
In response to Re: Tracking disk writes? (again)  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general

On Mar 12, 2007, at 1:31 PM, Martijn van Oosterhout wrote:

On Mon, Mar 12, 2007 at 11:14:14AM -0500, Erik Jones wrote:
Hi, is there any way that I can track the number of actual disk  
writes done by a particular database or database cluster?  I already  
sent this question last Friday and, while even I usually frown upon  
reposts to lists and forums, I really need some kind of answer, even  
if it's "you can't" in which case a why would also be cool.

I'm not sure it's what you mean, but the pg_stats* tables include stuff
like blocks read from tables and indexes and the like... You do need to
enable it in the config though.

That is exactly what I mean except that there doesn't seem to be anything in there for tracking writes done by the database.  There's the number of reads from disk and reads from the cache, but nothing that I can see wrt writes to disk.

erik jones <erik@myemma.com>
sofware developer
615-296-0838
emma(r)



pgsql-general by date:

Previous
From: Neal Clark
Date:
Subject: Re: DBD::Pg/perl question, kind of...
Next
From: Erik Jones
Date:
Subject: Re: Tracking disk writes? (again)