Re: auto-sizing wal_buffers

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: auto-sizing wal_buffers
Дата
Msg-id 4D2F8474.7020608@agliodbs.com
обсуждение исходный текст
Ответ на Re: auto-sizing wal_buffers  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: auto-sizing wal_buffers  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
> Depends what people want to do.  We could make the default "0kB", and
> define that to mean "auto-tune", or we could remove the parameter
> altogether.  I think I was envisioning the latter, but if people are
> hesitant to do that we could do the former instead.

Unfortunately, we might still need a manual parameter for override
because of the interaction between wal_buffers and
synchronous_commit=off, since it sets the max size of the unflushed data
buffer.  Discuss?

And the "auto" setting should be -1, not 0kB.  We use -1 for "use
default" for several other GUCs.

Other than that, I think Greg's numbers are fine, and strongly support
having one less thing to tune.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: ALTER TYPE 7: avoid index rebuilds/FK validations
Следующее
От: Robert Haas
Дата:
Сообщение: Re: auto-sizing wal_buffers