On Mon, 26 Oct 2009, ??? wrote:
> What I am trying to do now is to examine the real dirty portion of
> buffer pages to be flushed like the following.
You can trivially use pg_buffercache for view this, and its code in
contrib/pg_buffercache will show you how to navigate the buffer cache data
too. There's example of how to use it in the documentation for that
module and I've got some additional ones on my web page at
http://www.westnet.com/~gsmith/content/postgresql in the slides and
examples for "Inside the PostgreSQL Buffer Cache".
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2009-10-25 22:06:30|
|Subject: Re: Parsing config files in a directory |
|Previous:||From: Jeff Davis||Date: 2009-10-25 19:47:45|
|Subject: Re: Scaling up deferred unique checks and the after