pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Rui DeSousa <rui@crazybean.net>
Cc: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: q re removal/recycling of WAL files
Date: Wed, 3 Nov 2021 18:57:18 -0600
Message-ID: <D1A01608-4D0A-4AD5-BAB0-980B7B68FE7A@elevated-dev.com> (raw)
In-Reply-To: <6F0CF776-AA45-4989-AF0D-084F57D74CD0@crazybean.net>
References: <4B485D8E-9692-4009-8562-43BC0E54C975@elevated-dev.com>
	<6F0CF776-AA45-4989-AF0D-084F57D74CD0@crazybean.net>

> On Nov 3, 2021, at 5:37 PM, Rui DeSousa <rui@crazybean.net> wrote:
> 
> WAL file can’t be recycled until it is no longer needed; thus after a checkpoint and archived as well (if enabled). 


Ah yes, that's it! We are archiving WAL, and I imagine what happened easily outran the pace of archiving.

There was an exponential backoff between the retries, so although I could imagine rapid-fire retries filling disk with WAL before checkpoint running, I was having a little doubt about that happening in this case. I'm sure it was the archiving.






view thread (4+ messages)

Message-ID: <D1A01608-4D0A-4AD5-BAB0-980B7B68FE7A@elevated-dev.com>
Permalink:  ../D1A01608-4D0A-4AD5-BAB0-980B7B68FE7A@elevated-dev.com/
Also on:    postgresql.org/message-id/D1A01608-4D0A-4AD5-BAB0-980B7B68FE7A@elevated-dev.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, rui@crazybean.net, pgsql-admin@lists.postgresql.org
  Subject: Re: q re removal/recycling of WAL files
  In-Reply-To: <D1A01608-4D0A-4AD5-BAB0-980B7B68FE7A@elevated-dev.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