Skip site navigation (1) Skip section navigation (2)

WIP: buffer manager rewrite (take 2)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-patches(at)postgreSQL(dot)org
Subject: WIP: buffer manager rewrite (take 2)
Date: 2005-02-17 00:50:28
Message-ID: 1327.1108601428@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Second iteration of buffer manager rewrite.  This uses the idea of a
usage counter instead of just a recently-used flag bit.  I allowed the
counter to go up to 5, but some playing around with that value would
be interesting.  (Tweak BM_MAX_USAGE_COUNT in
src/include/storage/buf_internals.h, then recompile the files in
src/backend/storage/buffer/.)  Also there are more GUC variables now
for controlling the bgwriter.

			regards, tom lane


Attachment: buffer-rewrite-2.patch.gz
Description: application/octet-stream (43.9 KB)

Responses

pgsql-patches by date

Next:From: Mark KirkwoodDate: 2005-02-17 01:05:15
Subject: Re: WIP: bufmgr rewrite per recent discussions
Previous:From: Mark Cave-AylandDate: 2005-02-16 17:57:40
Subject: Re: WIP: bufmgr rewrite per recent discussions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group