On 26 April 2016 at 03:08, Guo, Yun <YGuo@cvent.com> wrote:
Is there a function or view that could return a measurable replication lag of Pglogical ?
It's the same as normal streaming replication. Use pg_stat_replication and/or pg_replication_slots to compare the LSN received by the client to the current server xlog insert position.
Like streaming replication there's currently no way to find out from the client side how far behind the client is. I think we should actually change that by sending an occasional message to the client with the server's current xlog insert position, though, so the client knows how far behind it is...
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера