Re: Defaults for replication/backup - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Defaults for replication/backup
Date
Msg-id 56BF3CF0.7040408@commandprompt.com
Whole thread Raw
In response to Re: Defaults for replication/backup  (Michael Paquier <michael.paquier@gmail.com>)
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Defaults for replication/backup
Next
From: Fabien COELHO
Date:
Subject: Re: extend pgbench expressions with functions