Re: Temp tables and LRU-K caching

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mike Mascari <mascarm(at)mascari(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Temp tables and LRU-K caching
Date: 2002-09-23 16:36:41
Message-ID: 200209231636.g8NGafx24942@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Another thing I'd like to see in the near future is a configurable
> setting for the amount of memory space that can be used for temp-table
> buffers. The current setting is ridiculously small (64*8K IIRC), but
> there's not much point in increasing it until we also have a smarter
> management algorithm for the temp buffers. I've asked Neil to look at
> making the improved LRU-K buffer management algorithm apply to temp
> buffers as well as regular shared buffers.

Speaking of sizing, I wonder if we should query about the amount of RAM
in the machine either during initdb or later and size based on that.

In other words, if we add a GUC variable that shows the amount of RAM,
we could size things based on that value.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-09-23 16:39:06 Re: Temp tables and LRU-K caching
Previous Message Bruce Momjian 2002-09-23 16:34:33 Re: Temp tables and LRU-K caching