Re: tuning bgwriter in 8.4.2 - Mailing list pgsql-general

From Greg Smith
Subject Re: tuning bgwriter in 8.4.2
Date
Msg-id 4B7C9A0D.7080606@2ndquadrant.com
Whole thread Raw
In response to Re: tuning bgwriter in 8.4.2  (Ben Chobot <bench@silentmedia.com>)
Responses Re: tuning bgwriter in 8.4.2  (Ben Chobot <bench@silentmedia.com>)
List pgsql-general
Ben Chobot wrote:
> Is there a way to tell if I really am just keeping the same few pages dirty throughout every checkpoint? I wouldn't
haveexpected that, but given our application I suppose it is possible. 

You can install pg_buffercache and look at what's in the cache to check
your theory.  I have some sample queries that show neat things at
http://www.westnet.com/~gsmith/content/postgresql/bufcache.sh

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


pgsql-general by date:

Previous
From: Ben Chobot
Date:
Subject: Re: tuning bgwriter in 8.4.2
Next
From: Greg Smith
Date:
Subject: Re: pg_database_size(oid)