Re: Weird spikes in delay for async streaming replication on 9.1
В списке pgsql-admin по дате отправления:
| От | David F. Skoll |
|---|---|
| Тема | Re: Weird spikes in delay for async streaming replication on 9.1 |
| Дата | |
| Msg-id | 20150226111152.3e0e28c8@hydrogen.roaringpenguin.com обсуждение |
| Ответ на | Re: Weird spikes in delay for async streaming replication on 9.1 (John Scalia <jayknowsunix@gmail.com>) |
| Список | pgsql-admin |
On Thu, 26 Feb 2015 11:06:50 -0500
John Scalia <jayknowsunix@gmail.com> wrote:
> Possibly, but that's why WE use a pair of standby servers, not a
> single one, so that all transactions get committed in a timely
> manner. The odds of both standbys failing at the same time are really
> small. Maybe your script should check which is latest WAL segment on
> each system first? That might show that you have a timedelay with
> getting the info to the standby.
That doesn't seem to be a problem. When I run this:
watch -n 0.1 'ps auxww|grep [w]al.*streaming'
on both primary and standby, the ID number after "streaming" increments
on both smoothly; there's no significant pause even when the delay starts
growing.
Regards,
David.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера