pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Parkirat Bagga <parkiratbagga@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Streaming Replication (Master Delta Sync)
Date: Wed, 17 Oct 2012 13:34:05 -0700 (PDT)
Message-ID: <1350506045391-5728704.post@n5.nabble.com> (raw)

Hi

We are using streaming replication for c++ Postgres-9.1 server.

We have setup 1 master and 1 slave and streaming replication is working
fine.

On checking the x-log status for both master and slave, we observed that the
master is quite ahead of the slave all the time. Now we have 2 questions

Que 1) When Master goes down these is some delta which is not applied to the
standby server (which is now, my new master) and the trigger has happened.
How should I sync that delta part to the new Master (older standby server)?

Que 2) How can I further reduce the gap between the Master and Standby? I
tried increasing the max_wal_sender=5 number but I can see only 1 process
running for sender.

Regards,
Parkirat Singh Bagga. 



--
View this message in context: http://postgresql.1045698.n5.nabble.com/Streaming-Replication-Master-Delta-Sync-tp5728704.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.




view thread (10+ messages)  latest in thread

Message-ID: <1350506045391-5728704.post@n5.nabble.com>
Permalink:  ../1350506045391-5728704.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1350506045391-5728704.post@n5.nabble.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: parkiratbagga@gmail.com
  Subject: Re: Streaming Replication (Master Delta Sync)
  In-Reply-To: <1350506045391-5728704.post@n5.nabble.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