Re: standby apply lag on inactive servers - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: standby apply lag on inactive servers
Date
Msg-id 20200129134837.GA29972@alvherre.pgsql
Whole thread Raw
In response to Re: standby apply lag on inactive servers  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
On 2020-Jan-29, Kyotaro Horiguchi wrote:

> But as more significant issue, nowadays PostgreSQL doesn't run a
> checkpoint if it is really inactive (that is, if no "important" WAL
> records have issued.).

Yeah, I mentioned this in message
<20200127203419.GA15216@alvherre.pgsql>.  The solution for monitoring
purposes is to use the new "lag" columns in pg_stat_replication.  But
that's not available in older releases (prior to 10), so this change is
still useful.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [Proposal] Global temporary tables
Next
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Block level parallel vacuum