Re: [HACKERS] Replication/backup defaults

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [HACKERS] Replication/backup defaults
Дата
Msg-id CANP8+jKWgWsN4JptAk0vLbUTcGQ2HSoGsK6hTSHy8s1jiAApJQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Replication/backup defaults  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 3 January 2017 at 12:34, Michael Paquier <michael.paquier@gmail.com> wrote:
> On Mon, Jan 2, 2017 at 10:55 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> In the hope of making things better in 10.0, I remove my objection. If
>> people want to use wal_level = minimal they can restart their server
>> and they can find that out in the release notes.
>>
>> Should we set wal_level = replica or wal_level = logical as the
>> default for 10.0?
>
> replica sounds like a better default to me as most users use at least
> archiving. Logical decoding is still fresh though, and its use is not
> that wide. Have there been any study on its performance impact
> compared to replica by the way?

Magnus' arguments should also be applied to wal_level = logical since
users will be surprised if they cannot use the logical replication
features we are adding as a main feature of 10.0. Why go through the
same pain again?

And if preventing their use is acceptable for the user, we should
treat it as a performance feature to reduce the wal_level.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: [HACKERS] ALTER SYSTEM for pg_hba.conf
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] PassDownLimitBound for ForeignScan/CustomScan [take-2]