Re: Speeding up replication startup/recovery

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: "Henry C(dot)" <henka(at)cityweb(dot)co(dot)za>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Speeding up replication startup/recovery
Date: 2011-04-13 09:16:33
Message-ID: BANLkTi=xehhaV1_7iGxy8K2YU+LU-WruKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 13, 2011 at 10:03 AM, Henry C. <henka(at)cityweb(dot)co(dot)za> wrote:

> My test replication seems to be proceeding normally, but the process appears
> to be quite slow:
>
> SLAVE
> ...postgres: startup process   recovering 000000010000019000000024    (1)
> ...postgres: wal receiver process   streaming 190/244FEA80
>
> MASTER
> ...postgres: wal sender process replicator 1.1.1.1(55390) streaming 190/244FEA80
>
> There are quite a few log files to process and both machines are not heavily
> taxed.  Is there any way to expedite this initial recovery process (1)?  It
> seems to be chugging along at a rather sedate pace.

The replication lag is zero since the master and slave WAL locations match.

There seems to be nothing to expedite... why do you say it is slow?

Maybe because you see this as an "initial recovery process". The
recovery process remains active while processing continues.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Henry C. 2011-04-13 10:39:33 Re: Speeding up replication startup/recovery
Previous Message Henry C. 2011-04-13 09:03:29 Speeding up replication startup/recovery