From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Defaults for replication/backup |
Date: | 2016-02-13 14:25:52 |
Message-ID: | 56BF3CF0.7040408@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2016-02-13 14:41:08 | Re: extend pgbench expressions with functions |
Previous Message | Magnus Hagander | 2016-02-13 13:51:38 | Re: Defaults for replication/backup |