Re: GUC variable for setting number of local buffers
От | Bruce Momjian |
---|---|
Тема | Re: GUC variable for setting number of local buffers |
Дата | |
Msg-id | 200503201348.j2KDmbh28307@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: GUC variable for setting number of local buffers (Markus Bertheau <twanger@bluetwanger.de>) |
Список | 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 по дате отправления: