Re: What causes streaming replication delay? [SOLVED, I think]

Поиск
Список
Период
Сортировка
От Dianne Skoll
Тема Re: What causes streaming replication delay? [SOLVED, I think]
Дата
Msg-id 20160831162222.21288e76@hydrogen.roaringpenguin.com
обсуждение исходный текст
Ответ на Re: What causes streaming replication delay?  (Dianne Skoll <dfs@roaringpenguin.com>)
Ответы Re: What causes streaming replication delay? [SOLVED, I think]
Re: What causes streaming replication delay? [SOLVED, I think]
Список pgsql-admin
Hi,

I think I solved it.  This is so ridiculous!

The primary and standby databases are 200km apart and the path between them
has a bandwidth of only 100 Mb/s.  We had bursts of writes that created
huge amounts of replication traffic.  In addition to streaming
replication, we're still copying WAL files over for safety (and also
because this is 9.1...)

We were hitting our bandwidth limit.

By adding the --bwlimit parameter to the rsync command that copies the WAL
files, we can limit the bandwidth usage during the bursts while still
keeping it high enough for the WAL-file archiving to keep up on average.

Keeping an eye on it for 24h before I completely declare it solved.

Regards,

Dianne.


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

Предыдущее
От: Dianne Skoll
Дата:
Сообщение: Re: What causes streaming replication delay?
Следующее
От: Scott Whitney
Дата:
Сообщение: Re: What causes streaming replication delay? [SOLVED, I think]