Re: GUC variable for setting number of local buffers - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: GUC variable for setting number of local buffers
Date
Msg-id 200503201348.j2KDmbh28307@candle.pha.pa.us
Whole thread Raw
In response to Re: GUC variable for setting number of local buffers  (Markus Bertheau <twanger@bluetwanger.de>)
List 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Markus Bertheau
Date:
Subject: Re: GUC variable for setting number of local buffers
Next
From: Simon Riggs
Date:
Subject: Re: GUC variable for setting number of local buffers