From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Markus Bertheau <twanger(at)bluetwanger(dot)de> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: GUC variable for setting number of local buffers |
Date: | 2005-03-20 13:48:37 |
Message-ID: | 200503201348.j2KDmbh28307@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Markus Bertheau wrote:
-- Start of PGP signed section.
> ? ???, 19/03/2005 ? 12:57 -0500, Tom Lane ?????:
>
> > It's already true that the individual buffers, as opposed to the buffer
> > descriptors, are allocated only as needed; which makes the overhead
> > of a large local_buffers setting pretty small if you don't actually do
> > much with temp tables in a given session. So I was thinking about
> > making the default value fairly robust, maybe 1000 (as compared to
> > the historical value of 64...).
>
> Why does the dba need to set that variable at all then?
It is like sort_mem that is local memory but is limited so a single
backend does not exhaust all the RAM on the machine.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2005-03-20 14:51:25 | Re: GUC variable for setting number of local buffers |
Previous Message | Markus Bertheau | 2005-03-20 13:27:44 | Re: GUC variable for setting number of local buffers |