Re: Defaults for replication/backup

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Defaults for replication/backup
Дата
Msg-id 56BF3CF0.7040408@commandprompt.com
обсуждение исходный текст
Ответ на Re: Defaults for replication/backup  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 02/13/2016 05:37 AM, Michael Paquier wrote:
> On Sat, Feb 13, 2016 at 10:15 PM, Magnus Hagander wrote:
>> So, I suggest the following changes to the defaults:
>> wal_level=hot_standby
>> max_wal_senders=10
>> max_replication_slots=10
>
> 10 seems a bit high. I would think that max_wal_senders and
> max_replication_slots set at 3 are sufficient enough, giving enough
> room for simple deployments willing to use replication.

Q. Is there a demonstrable, noticeable downside to 10?
A. No

Great, let's make it easier for everyone.

+1

>
>> And in pg_hba.conf, we enable the replication connections by default for the
>> superuser on local/localhost.
>
> +1 on that.

+1

JD



-- 
Command Prompt, Inc.                  http://the.postgres.company/                     +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Defaults for replication/backup
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: extend pgbench expressions with functions