pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rijo Roy <rjo_roy@yahoo.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Wals not recycling
Date: Thu, 20 Dec 2018 12:17:56 +0000 (UTC)
Message-ID: <1093342998.7970426.1545308276060@mail.yahoo.com> (raw)
References: <1093342998.7970426.1545308276060.ref@mail.yahoo.com>


Hi All, 

I am facing an issue with wal recycling in one of my Postgresql servers running ina rhel box and the PG version is 10. The issue is that wal files are not recycling at all. Please note that its a qa server and the load is quite high on it. It is running in no archive mode with fsync on, max_wal_size is 8GB with checkpoint_timeout of 5mins and default checkpoint_completion_target of 0.5. Could you please give me some pointers what could be wrong, if it is hardware that is problem here, how can I collect some facts about it so that 8 can take this matter with system guys. 
Average wal generation is approximately 9k per day
I have enabled log_checkpoint in my server and I can see it says checkpoint complete: wrote ###buffers, 0 wal files added, 0 removed, 0 recycled,,,, LogCheckpointEnd
I have no active replication slots in this database cluster.Also the wal_keep_segments is set to 0. Appreciate your help! 

Thanks, 

Rijo Roy 

Sent from Yahoo Mail on Android

view thread (4+ messages)  latest in thread

Message-ID: <1093342998.7970426.1545308276060@mail.yahoo.com>
Permalink:  ../1093342998.7970426.1545308276060@mail.yahoo.com/
Also on:    postgresql.org/message-id/1093342998.7970426.1545308276060@mail.yahoo.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rjo_roy@yahoo.com
  Subject: Re: Wals not recycling
  In-Reply-To: <1093342998.7970426.1545308276060@mail.yahoo.com>
  References: <1093342998.7970426.1545308276060.ref@mail.yahoo.com> <1093342998.7970426.1545308276060@mail.yahoo.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