Re: Defaults for replication/backup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Defaults for replication/backup
Дата
Msg-id 22066.1455378755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Defaults for replication/backup  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Defaults for replication/backup  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Yes, these changes will increase some of the default overhead. My argument
> against that is that anybody who actually cares about that overhead is
> going to be tuning their database *anyway*, so they can just change things
> back to the old defaults.

> So, I suggest the following changes to the defaults:

> wal_level=hot_standby
> max_wal_senders=10
> max_replication_slots=10

It would be easier to sell this if we had some numbers for the amount of
overhead it would add for people *not* using the features.  I do not think
I've ever seen, eg, pgbench results with different wal_level and all else
the same.

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

Potential security implications?
        regards, tom lane



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

Предыдущее
От: Christian Ullrich
Дата:
Сообщение: Re: Crash with old Windows on new CPU
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Defaults for replication/backup