pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: chris <chrisk@pgsqlrocket.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: pg_xlog piling
Date: Wed, 31 Jan 2018 09:29:12 +0100
Message-ID: <1517387352.2579.8.camel@cybertec.at> (raw)
In-Reply-To: <575c1026-aabd-4854-55f7-1292c57b3da6@pgsqlrocket.com>
References: <575c1026-aabd-4854-55f7-1292c57b3da6@pgsqlrocket.com>

chris wrote:
> I have a standby that is in replication only mode but the pg_xlog 
> directory is currently at 577GB utilized and is growing daily and I 
> can't figure out why. This was a problem before when we were on 
> postgresl 9.2 but changed some postgresql.conf parameters and then 
> rebuilt it but still running into the same problem.

What do you get on the primary for

   SELECT state, sent_location, write_location, flush_location, replay_location
   FRPM pg_stat_replication;

Yours,
Laurenz Albe




view thread (8+ messages)

Message-ID: <1517387352.2579.8.camel@cybertec.at>
Permalink:  ../1517387352.2579.8.camel@cybertec.at/
Also on:    postgresql.org/message-id/1517387352.2579.8.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, chrisk@pgsqlrocket.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_xlog piling
  In-Reply-To: <1517387352.2579.8.camel@cybertec.at>

* 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