Re: [HACKERS] Measuring replay lag

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: [HACKERS] Measuring replay lag
Дата
Msg-id CAMsr+YGEqcR6mLkGUZWvqaQ2MXXv1FtpW-fLQKfL6Vuo-L9Xig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Measuring replay lag  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
On 24 March 2017 at 05:39, Thomas Munro <thomas.munro@enterprisedb.com> wrote:

> Fujii-san for the idea of tracking write and flush lag too

You mentioned wishing that logical replication would update sent lag
as the decoding position.

It appears to do just that already; see the references to restart_lsn
in StartLogicalReplication, and the update of sentPtr in
XLogSendLogical .

It's a bit misleading, since it hasn't *sent* anything, it buffers it
until commit. But it's useful.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] WIP: Faster Expression Processing v4
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] ICU integration