pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David F. Skoll <dfs@roaringpenguin.com>
To: pgsql-admin@postgresql.org
Cc: John Scalia <jayknowsunix@gmail.com>
Subject: Re: Weird spikes in delay for async streaming replication on 9.1
Date: Thu, 26 Feb 2015 11:11:52 -0500
Message-ID: <20150226111152.3e0e28c8@hydrogen.roaringpenguin.com> (raw)
In-Reply-To: <54EF449A.9030407@gmail.com>
References: <20150214110050.2f032f05@ollie.roaringpenguin.com>
	<20150226094428.34531376@hydrogen.roaringpenguin.com>
	<54EF3E6F.60403@gmail.com>
	<20150226104433.1b0df1db@hydrogen.roaringpenguin.com>
	<54EF411B.80202@gmail.com>
	<20150226110007.09bb1551@hydrogen.roaringpenguin.com>
	<54EF449A.9030407@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Thu, 26 Feb 2015 11:06:50 -0500
John Scalia <jayknowsunix@gmail.com> wrote:

> Possibly, but that's why WE use a pair of standby servers, not a
> single one, so that all transactions get committed in a timely
> manner. The odds of both standbys failing at the same time are really
> small. Maybe your script should check which is latest WAL segment on
> each system first? That might show that you have a timedelay with
> getting the info to the standby.

That doesn't seem to be a problem.  When I run this:

     watch -n 0.1 'ps auxww|grep [w]al.*streaming'

on both primary and standby, the ID number after "streaming" increments
on both smoothly; there's no significant pause even when the delay starts
growing.

Regards,

David.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (8+ messages)

Message-ID: <20150226111152.3e0e28c8@hydrogen.roaringpenguin.com>
Permalink:  ../20150226111152.3e0e28c8@hydrogen.roaringpenguin.com/
Also on:    postgresql.org/message-id/20150226111152.3e0e28c8@hydrogen.roaringpenguin.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dfs@roaringpenguin.com, jayknowsunix@gmail.com
  Subject: Re: Weird spikes in delay for async streaming replication on 9.1
  In-Reply-To: <20150226111152.3e0e28c8@hydrogen.roaringpenguin.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox