Re: [HACKERS] Separation walsender & normal backends

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: [HACKERS] Separation walsender & normal backends
Дата
Msg-id CAMsr+YGsNG3FgzH5=bz=i4jgBDx0N2E1tfpG4PviTJ+Ft+EB7g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Separation walsender & normal backends  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 26 April 2017 at 02:36, Andres Freund <andres@anarazel.de> wrote:

> For
> logical rep we'd alternatively add more complexity because we'd need
> both replication and non-replication connections (to stream changes, to
> copy tables, to query config), which'd also complicate administration
> because users & hba config have to be setup so the same user can connect
> over both.

We have experience of this from BDR and pglogical, of course, and it's
definitely a pain and source of user misconfiguration.

I'm not sure how practical it is to merge walsenders and regular
backends at this stage of pg10 development, but it seems like a
worthwhile goal down the track. I'd very much like to reduce the
amount of magic global juggling done by the walsender, unify the
XLogRead paths, unify the timeline following logic for physical
walsenders, logical walsenders and logical decoding on normal
backends, allow normal backends to be signaled when there's new WAL,
etc. I think there's a fair bit to do in order to do this well though.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] [PostgreSQL 10] default of hot_standby should be "on"?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] scram and \password