Re: GUC variable for setting number of local buffers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GUC variable for setting number of local buffers
Дата
Msg-id 7978.1111340215@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GUC variable for setting number of local buffers  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-hackers
Markus Bertheau <twanger@bluetwanger.de> writes:
>> 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?

Because you do have to have a limit.  You want the thing trying to keep
all of a large temp table in core?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: read-only planner input
Следующее
От: Robert Treat
Дата:
Сообщение: what to do with backend flowchart