Re: What causes streaming replication delay? - Mailing list pgsql-admin

From Dianne Skoll
Subject Re: What causes streaming replication delay?
Date
Msg-id 20160831131604.0f305404@hydrogen.roaringpenguin.com
Whole thread Raw
In response to Re: What causes streaming replication delay?  (Keith <keith@keithf4.com>)
Responses Re: What causes streaming replication delay? [SOLVED, I think]  (Dianne Skoll <dfs@roaringpenguin.com>)
List pgsql-admin
On Wed, 31 Aug 2016 12:04:23 -0400
Keith <keith@keithf4.com> wrote:

> All depends on how you're monitoring your slave lag. Check this blog
> post and if you're seeing actual byte lag, then you could have cause
> for concern.

It's not because the master is idle... there is tons of write traffic.

And the way I measure the lag is about as directly as you can: I
periodically insert a timestamp into a specific table on the master,
and then poll the hot-standby until the inserted timestamp has
appeared.

Regards,

Dianne.


pgsql-admin by date:

Previous
From: Keith
Date:
Subject: Re: What causes streaming replication delay?
Next
From: Dianne Skoll
Date:
Subject: Re: What causes streaming replication delay? [SOLVED, I think]