Better dual WAL shipping/streaming integration?

Поиск
Список
Период
Сортировка
От Stuart Bishop
Тема Better dual WAL shipping/streaming integration?
Дата
Msg-id CADmi=6OoU-43Tz80swPxc_YO_6fdjFqtDRbzGt2Q_wRWOPBY-Q@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi.

I currently have a number of servers using both streaming replication
and WAL shipping in the standard setup.

Occasionally, the primaries get large load spikes. Load climbs up,
things slow down. So much so that streaming replication starts lagging
because the WAL sender is being starved for resources. Eventually, the
slave disconnects. At which point it happily starts consuming the
shipped files and catches up again.

All this is working just fine and as designed (apart from the load
spikes, but that is my problem). However, I was thinking that it would
be better streaming replication did not attempt to pull down WAL files
that had already been shipped and were available locally. This would
save resources when you need them most - the hot standbys have fallen
behind.

--
Stuart Bishop <stuart@stuartbishop.net>
http://www.stuartbishop.net/


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

Предыдущее
От: Petko Godev
Дата:
Сообщение: Re: WIN1251 localization
Следующее
От: Marc Mamin
Дата:
Сообщение: UTC houroffset -> days_start AT TIME ZONE x