pgsql: Tweak buffer manager so that 'internal' accesses to a buffer do - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Tweak buffer manager so that 'internal' accesses to a buffer do
Date
Msg-id 20051027170758.C67A4DAAA0@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Tweak buffer manager so that 'internal' accesses to a buffer do not
advance its usage_count.  This includes writes of dirty buffers triggered
by bgwriter, checkpoint, or FlushRelationBuffers, as well as various
corner cases that really ought not count as accesses to the page.
Should make for some marginal improvement in the quality of our decisions
about when to recycle buffers.  Per suggestion from ITAGAKI Takahiro.

Modified Files:
--------------
    pgsql/src/backend/storage/buffer:
        bufmgr.c (r1.197 -> r1.198)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.197&r2=1.198)

pgsql-committers by date:

Previous
From: Neil Conway
Date:
Subject: Re: pgsql: Disable expanded mode only for \d
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add an ifneq to avoid make warning on AIX --- there is a separate