Re: [ADMIN] Standby wal issue - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: [ADMIN] Standby wal issue
Date
Msg-id 1510039830.2845.32.camel@cybertec.at
Whole thread Raw
In response to [ADMIN] Standby wal issue  (chris kim <chrisk@propaas.com>)
List pgsql-admin
chris kim wrote:
> I have a standby server that is in replication mode only, and is storing 
> an insane amount of wal files and it's only on the standby not the 
> master. I have over 50,000 wal files right now. I only have a few 
> processes running on the background and they all seem to not be the 
> problem. This is running on postgres 9.2. Any help would be greatly 
> appreciated.

Check the "pg_stat_replication" view to see if the standby keeps up
applying the changes - failure to do so could be a reason for WAL piling up.

If host standby is active, is "max_standby_streaming_delay" configured so that
long running transactions on the standby could block replication?

Yours,
Laurenz Albe


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

pgsql-admin by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: [ADMIN] Bad recovery: no pg_xlog/RECOVERYXLOG
Next
From: Laurenz Albe
Date:
Subject: Re: [ADMIN] ERROR: invalid byte sequence for encoding "UTF8": 0x00