Re: tuning bgwriter in 8.4.2

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Ben Chobot <bench(at)silentmedia(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tuning bgwriter in 8.4.2
Date: 2010-02-18 01:38:21
Message-ID: 4B7C9A0D.7080606@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 have expected 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(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2010-02-18 01:46:20 Re: pg_database_size(oid)
Previous Message Ben Chobot 2010-02-18 01:06:46 Re: tuning bgwriter in 8.4.2