Re: [HACKERS] Measuring replay lag

Поиск
Список
Период
Сортировка
Искать
От
David Steele
Тема
Re: [HACKERS] Measuring replay lag
Дата
Msg-id
fecaabd1-0c41-ad8c-37f1-983874817b03@pgmasters.net
Ответ на
Список
Дерево обсуждения
Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: Measuring replay lag Masahiko Sawada <sawada.mshk@gmail.com>
Re: Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Fujii Masao <masao.fujii@gmail.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Fujii Masao <masao.fujii@gmail.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Abhijit Menon-Sen <ams@2ndQuadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Ian Barwick <ian.barwick@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag David Steele <david@pgmasters.net>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] Measuring replay lag Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] Measuring replay lag Thomas Munro <thomas.munro@enterprisedb.com>
Hi Thomas,

On 3/15/17 8:38 PM, Simon Riggs wrote:
> On 16 March 2017 at 08:02, Thomas Munro  wrote:
>
>> I agree that these states exist, but we disagree on what 'lag' really
>> means, or, rather, which of several plausible definitions would be the
>> most useful here.
>>
>> My proposal is that the *_lag columns should always report how long it
>> took for recently written, flushed and applied WAL to be written,
>> flushed and applied (and for the primary to know about it).  By this
>> definition, sent LSN = applied LSN is not a special case: we simply
>> report how long that LSN took to be written, flushed and applied.
>>
>> Your proposal is that the *_lag columns should report how far in the
>> past the standby is at each of the three stages with respect to the
>> current end of WAL.  By this definition when sent LSN = applied LSN we
>> are currently in the 'A' state meaning 'caught up' and should show
>> 00:00:00.
>
> I accept your proposal for how we handle these, on condition that you
> write up some docs that explain the subtle difference between the two,
> so we can just show people the URL. That needs to explain clearly the
> difference in an impartial way between "what is the most recent lag
> measurement" and "how long until we are caught up" as possible
> intrepretations of these values. Thanks.

This thread has been idle for six days.  Please respond and/or post a 
new patch by 2017-03-24 00:00 AoE (UTC-12) or this submission will be 
marked "Returned with Feedback".

Thanks,
-- 
-David
david@pgmasters.net


В списке pgsql-hackers по дате отправления
От: David Steele
Дата:
От: David Steele
Дата:
FAQ