Re: 2Q implementaion for PostgreSQL buffer replacement.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Yutaka tanida <yutaka(at)nonsensecorner(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 2Q implementaion for PostgreSQL buffer replacement.
Date: 2003-06-24 03:49:17
Message-ID: 200306240349.h5O3nHn17430@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Looks good to me --- we will include it in 7.4.

Your patch has been added to the PostgreSQL unapplied patches list at:

http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Yutaka tanida wrote:
> Hi.
>
> I implement 2Q algorithm to PostgreSQL for buffer management , instead
> of LRU.
> It's known as low overhead and high performance than LRU. If you have
> some interests , see following URL.
>
> http://www.vldb.org/conf/1994/P439.PDF
>
> In my test (pgbench -S) , it improves 4% cache hit rate and 2% up
> performance comparing from LRU.
>
> Do you have any interest about this patch?
>
> --
> Yutaka tanida <yutaka(at)nonsensecorner(dot)com>
> http://www.nonsensecorner.com/

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-24 03:51:49 Re: [HACKERS] Subtraction carry bug in xlog.c in 7.3 and 7.4
Previous Message Bruce Momjian 2003-06-24 03:41:29 Re: interval's and printing...