Re: Overhauling GUCS

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Overhauling GUCS
Дата
Msg-id 484F7613.5070202@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Overhauling GUCS  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Overhauling GUCS
Список pgsql-hackers
Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> Oh, and wal_buffers, the default for which we should just change if it
>> weren't for SHMMAX.
> 
> Uh, why?  On a workload of mostly small transactions, what value is
> there in lots of wal_buffers?

None. But there's also little to no harm in having a higher setting; at 
worst you waste a few megabytes of memory. Besides, most databases are 
initialized from some outside source in the beginning, and data loading 
does benefit from a higher wal_buffers setting.

Ideally, of course, there would be no wal_buffers setting, and WAL 
buffers would be allocated from shared_buffers pool on demand...

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: "billy"
Дата:
Сообщение: Re: why copy tuple in the end of trigger when nothing changed in NEW OLD record variable
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: Runtime checking of MCV (Was: ... histogram bucket numdistinct statistics)