pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Huge archive log generate in Postgresql-13
Date: Mon, 18 Apr 2022 07:43:39 -0400
Message-ID: <25eda70b-62ad-45aa-a239-b2f443d05b4e@gmail.com> (raw)
In-Reply-To: <KL1PR0601MB4433D6A72DE1CA03D9D6F75DF0F39@KL1PR0601MB4433.apcprd06.prod.outlook.com>
References: <KL1PR0601MB4433D6A72DE1CA03D9D6F75DF0F39@KL1PR0601MB4433.apcprd06.prod.outlook.com>

On 4/18/22 07:34, Ram Pratap Maurya wrote:
>
> Hi Support,
>
> We have upgraded postgresql DB from version 11 to 13 .  after upgrade 
> to 13  huge archive log generate in system .
>
> Before upgrade  per day 120GB to 150 GB log generated but after 
> upgrade per day approx. 250 to 300 GB log generated.
>
> Can you please suggest why huge archive log generated after upgrade 
>  there any configure setting or this is Postgresql-13 behaviour.
>
> Postgresql-13 Postgresql conf file attached for your references.
>
> Regards,
>
> Ram Pratap.
>
Have you checked what's in those WAL archives? You can do that with 
pg_waldump. My guess would be that your vacuum is probably more active 
than in the version 11. However, that's just a guess. You can also turn 
on WAL compression. Be aware that compression will reduce disk 
consumption at the expense of CPU consumption.

Regards

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

view thread (13+ messages)  latest in thread

Message-ID: <25eda70b-62ad-45aa-a239-b2f443d05b4e@gmail.com>
Permalink:  ../25eda70b-62ad-45aa-a239-b2f443d05b4e@gmail.com/
Also on:    postgresql.org/message-id/25eda70b-62ad-45aa-a239-b2f443d05b4e@gmail.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: gogala.mladen@gmail.com
  Subject: Re: Huge archive log generate in Postgresql-13
  In-Reply-To: <25eda70b-62ad-45aa-a239-b2f443d05b4e@gmail.com>
  References: <KL1PR0601MB4433D6A72DE1CA03D9D6F75DF0F39@KL1PR0601MB4433.apcprd06.prod.outlook.com> <25eda70b-62ad-45aa-a239-b2f443d05b4e@gmail.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