On Feb 17, 2010, at 6:38 PM, Greg Smith wrote:
This appears to be fairly typical: # select count(*),isdirty,usagecount from pg_buffercache group by isdirty,usagecount order by usagecount desc,isdirty; count | isdirty | usagecount --------+---------+------------ 670629 | f | 5 75766 | t | 5 237311 | f | 4 5372 | t | 4 74682 | f | 3 31 | t | 3 73786 | f | 2 18 | t | 2 104112 | f | 1 62 | t | 1 68951 | f | 0 (11 rows) Is it reading it correctly to say that the bgwriter probably wouldn't help much, because a majority of the dirty pages appear to be popular? |