Re: Bump default wal_level to logical

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Bump default wal_level to logical
Дата
Msg-id 20200608192756.GA16651@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Bump default wal_level to logical  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Bump default wal_level to logical  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On 2020-Jun-08, Robert Haas wrote:

> On Mon, Jun 8, 2020 at 1:16 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> > I think it's reasonable to push our default limits for slots,
> > walsenders, max_bgworkers etc a lot higher than current value (say 10 ->
> > 100).  An unused slot wastes essentially no resources; an unused
> > walsender is just one PGPROC entry.  If we did that, and also allowed
> > wal_level to be changed on the fly, we wouldn't need to restart in order
> > to enable logical replication, so there would be little or no pressure
> > to change the wal_level default.
> 
> Wouldn't having a whole bunch of extra PGPROC entries have negative
> implications for the performance of GetSnapshotData() and other things
> that don't scale well at high connection counts?

On a quantum-mechanics level, sure, but after Andres's snapshot
scalability patches, will it be measurable?  (Besides, if your workload
is so high that you're measurably affected by the additional unused
PGPROC entries, you can always tune it lower.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Bump default wal_level to logical
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: hashagg slowdown due to spill changes