pgsql: Tweak buffer manager so that 'internal' accesses to a buffer do

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak buffer manager so that 'internal' accesses to a buffer do
Date: 2005-10-27 17:07:58
Message-ID: 20051027170758.C67A4DAAA0@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-27 20:45:29 pgsql: Add an ifneq to avoid make warning on AIX --- there is a separate
Previous Message Neil Conway 2005-10-27 16:05:14 Re: pgsql: Disable expanded mode only for \d