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, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org