Re: Standby is not removing restored WAL segments - Mailing list pgsql-admin

From Alexey Klyukin
Subject Re: Standby is not removing restored WAL segments
Date
Msg-id CAAS3ty+gey_FVPpa2Vq9SnJ7hn3TQv0erG6kpVA4ZF1aNMobPw@mail.gmail.com
Whole thread Raw
In response to Re: Standby is not removing restored WAL segments  (bricklen <bricklen@gmail.com>)
Responses Re: Standby is not removing restored WAL segments  (Jerry Sievers <gsievers19@comcast.net>)
List pgsql-admin
On Mon, Sep 8, 2014 at 3:52 AM, bricklen <bricklen@gmail.com> wrote:
>
> On Fri, Sep 5, 2014 at 12:33 AM, Alexey Klyukin <alexk@hintbits.com> wrote:
>>
>> We've got a 9.3.5 DB running in a standby mode for a fairly large DB
>> (500GB) with a busy WAL traffic (couple of GBs per hour) and it
>> occasionally 'forgets' to remove the segments it restored.
>
>
> A complete shot in the dark, but do you take backups from that server, and
> if so, does the backup script "pause" replication via
> "pg_xlog_replay_pause()"? If so, "select pg_is_xlog_replay_paused();" should
> return true, and executing "select pg_xlog_replay_resume()" will un-pause
> replication.



>
> Again, that's only a WAG.
>

Thanks. we do take DB backups from this server, but not from this
cluster on it, so it's not a backup interference.

--
Regards,
Alexey Klyukin


pgsql-admin by date:

Previous
From: bricklen
Date:
Subject: Re: Standby is not removing restored WAL segments
Next
From: Scott Marlowe
Date:
Subject: Re: Problems with PG 9.3