pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Huge archive log generate in Postgresql-13
13+ messages / 5 participants
[nested] [flat]

* Huge archive log generate in Postgresql-13
@ 2022-04-18 11:34  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  0 siblings, 3 replies; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-18 11:34 UTC (permalink / raw)
  To: pgsql-general; +Cc: Manu Saxena <manu.saxena@lavainternational.in>

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.

Attachments:

  postgresql.conf (application/octet-stream, 27.6K) download

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Re: Huge archive log generate in Postgresql-13
@ 2022-04-18 11:43  Mladen Gogala <gogala.mladen@gmail.com>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  2 siblings, 0 replies; 13+ messages in thread

From: Mladen Gogala @ 2022-04-18 11:43 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Huge archive log generate in Postgresql-13
@ 2022-04-18 11:47  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  2 siblings, 1 reply; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-18 11:47 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>; +Cc: Manu Saxena <manu.saxena@lavainternational.in>

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.

Attachments:

  postgresql.conf (application/octet-stream, 27.6K) download

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Re: Huge archive log generate in Postgresql-13
@ 2022-04-18 12:10  Holger Jakobs <holger@jakobs.com>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  0 siblings, 1 reply; 13+ messages in thread

From: Holger Jakobs @ 2022-04-18 12:10 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org


wal_level = hot_standby            # minimal, replica, or logical
                     # (change requires restart)

Set wal_level to one of the allowed values. It's possible that your 
value gets interpreted as logical, thus creating larger wal entries.

Am 18.04.22 um 13:47 schrieb Ram Pratap Maurya:
>
> 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.
>
-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012



Attachments:

  OpenPGP_signature (application/pgp-signature, 202B) download

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Re: Huge archive log generate in Postgresql-13
@ 2022-04-18 16:00  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  2 siblings, 1 reply; 13+ messages in thread

From: Adrian Klaver @ 2022-04-18 16:00 UTC (permalink / raw)
  To: Ram Pratap Maurya <ram.maurya@lavainternational.in>; pgsql-general; +Cc: Manu Saxena <manu.saxena@lavainternational.in>

On 4/18/22 04: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.

Where are you measuring this in the WAL directory or the archive directory?

Do you have replication set up from this server and if so what type?

FYI, the wal_level setting of hot_standby is deprecated and maps to 
replica since version 9.6. At some point you might want to change to 
match current documentation.

> 
> 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.
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Re: Huge archive log generate in Postgresql-13
@ 2022-04-18 19:15  Clive Swan <cliveswan@gmail.com>
  parent: Holger Jakobs <holger@jakobs.com>
  0 siblings, 1 reply; 13+ messages in thread

From: Clive Swan @ 2022-04-18 19:15 UTC (permalink / raw)
  To: Holger Jakobs <holger@jakobs.com>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>

Grenting,
Is your logging set to high verbosity??

Usually use high verbosity for debugging, then change to low verbosity.

Clive

________________________________
From: Holger Jakobs <holger@jakobs.com>
Sent: Monday, 18 April 2022, 13:10
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Huge archive log generate in Postgresql-13



wal_level = hot_standby            # minimal, replica, or logical
                    # (change requires restart)

Set wal_level to one of the allowed values. It's possible that your value gets interpreted as logical, thus creating larger wal entries.

Am 18.04.22 um 13:47 schrieb Ram Pratap Maurya:
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.


--
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* RE: Huge archive log generate in Postgresql-13
@ 2022-04-19 03:29  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-19 03:29 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general; +Cc: Manu Saxena <manu.saxena@lavainternational.in>

Dear Adrian,

We have two replica system one is Slave and other id DR server .
Salve server replicate from PG_WAL and DR system replicate from  pg_log_archive. 

Can you please suggest what changes need to required in PG13 conf file.


Regards,
Ram Pratap.

-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@aklaver.com] 
Sent: 18 April 2022 21:30
To: Ram Pratap Maurya <ram.maurya@lavainternational.in>; pgsql-general@postgresql.org
Cc: Manu Saxena <manu.saxena@lavainternational.in>
Subject: Re: Huge archive log generate in Postgresql-13

On 4/18/22 04: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.

Where are you measuring this in the WAL directory or the archive directory?

Do you have replication set up from this server and if so what type?

FYI, the wal_level setting of hot_standby is deprecated and maps to replica since version 9.6. At some point you might want to change to match current documentation.

> 
> 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.
> 


--
Adrian Klaver
adrian.klaver@aklaver.com


Attachments:

  postgresql.conf (application/octet-stream, 27.6K) download

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* RE: Huge archive log generate in Postgresql-13
@ 2022-04-19 04:41  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  0 siblings, 1 reply; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-19 04:41 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general

Dear Adrian,



If we set  parameter  "PG-WAL  = replica"  in PG13 conf file , there is any issue  in replication through PG_WAL  and pg_log_archive log.



https://www.postgresql.org/docs/13/runtime-config-wal.html







Regards,

Ram Pratap.



-----Original Message-----
From: Ram Pratap Maurya
Sent: 19 April 2022 09:00
To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@postgresql.org
Cc: Manu Saxena <manu.saxena@lavainternational.in>
Subject: RE: Huge archive log generate in Postgresql-13



Dear Adrian,



We have two replica system one is Slave and other id DR server .

Salve server replicate from PG_WAL and DR system replicate from  pg_log_archive.



Can you please suggest what changes need to required in PG13 conf file.





Regards,

Ram Pratap.



-----Original Message-----

From: Adrian Klaver [mailto:adrian.klaver@aklaver.com]

Sent: 18 April 2022 21:30

To: Ram Pratap Maurya <ram.maurya@lavainternational.in<mailto:ram.maurya@lavainternational.in>>; pgsql-general@postgresql.org<mailto:pgsql-general@postgresql.org>

Cc: Manu Saxena <manu.saxena@lavainternational.in<mailto:manu.saxena@lavainternational.in>>

Subject: Re: Huge archive log generate in Postgresql-13



On 4/18/22 04: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.



Where are you measuring this in the WAL directory or the archive directory?



Do you have replication set up from this server and if so what type?



FYI, the wal_level setting of hot_standby is deprecated and maps to replica since version 9.6. At some point you might want to change to match current documentation.



>

> 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.

>





--

Adrian Klaver

adrian.klaver@aklaver.com<mailto:adrian.klaver@aklaver.com>


Attachments:

  postgresql.conf (application/octet-stream, 27.6K) download

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Re: Huge archive log generate in Postgresql-13
@ 2022-04-19 17:20  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  0 siblings, 1 reply; 13+ messages in thread

From: Adrian Klaver @ 2022-04-19 17:20 UTC (permalink / raw)
  To: Ram Pratap Maurya <ram.maurya@lavainternational.in>; pgsql-general

On 4/18/22 21:41, Ram Pratap Maurya wrote:
> Dear Adrian,
> 
> If we set  parameter *"PG-WAL  = replica"*  in PG13 conf file , there is 
> any issue  in replication through PG_WAL  and pg_log_archive log.
> 

In versions of Postgres from 9.6+ your setting of hot_standby is mapped 
to the replica setting so it is really not a change. In other words the 
hot_standby setting = replica setting as of 9.6. I made the suggestion 
to change just so the conf setting matches the choices in current 
documentation. Less confusion for someone looking through the 
postgresql.conf file and  then looking up the values in the documentation.


As to your replication is that binary replication or logical replication?

Also you have not said where you are measuring the size growth in WAL files?

> 
> Regards,
> 
> Ram Pratap.
> 
> -----Original Message-----
> From: Ram Pratap Maurya
> Sent: 19 April 2022 09:00
> To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@postgresql.org
> Cc: Manu Saxena <manu.saxena@lavainternational.in>
> Subject: RE: Huge archive log generate in Postgresql-13
> 
> Dear Adrian,
> 
> We have two replica system one is Slave and other id DR server .
> 
> Salve server replicate from PG_WAL and DR system replicate from  
> pg_log_archive.
> 
> Can you please suggest what changes need to required in PG13 conf file.
> 
> Regards,
> 
> Ram Pratap.
> 
> -----Original Message-----
> 
> From: Adrian Klaver [mailto:adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>]
> 
> Sent: 18 April 2022 21:30
> 
> To: Ram Pratap Maurya <ram.maurya@lavainternational.in 
> <mailto:ram.maurya@lavainternational.in>>; pgsql-general@postgresql.org 
> <mailto:pgsql-general@postgresql.org>
> 
> Cc: Manu Saxena <manu.saxena@lavainternational.in 
> <mailto:manu.saxena@lavainternational.in>>
> 
> Subject: Re: Huge archive log generate in Postgresql-13
> 
> On 4/18/22 04: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.
> 
> Where are you measuring this in the WAL directory or the archive directory?
> 
> Do you have replication set up from this server and if so what type?
> 
> FYI, the wal_level setting of hot_standby is deprecated and maps to 
> replica since version 9.6. At some point you might want to change to 
> match current documentation.
> 
>  >
> 
>  > 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.
> 
>  >
> 
> --
> 
> Adrian Klaver
> 
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* RE: Huge archive log generate in Postgresql-13
@ 2022-04-20 04:31  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-20 04:31 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general

Dear Adrian,



We are using binary replication and par day  pg_log_archive total size is increase after upgrade for PG11 to PG13.







Regards,

Ram Pratap.



-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@aklaver.com]
Sent: 19 April 2022 22:51
To: Ram Pratap Maurya <ram.maurya@lavainternational.in>; pgsql-general@postgresql.org
Subject: Re: Huge archive log generate in Postgresql-13



On 4/18/22 21:41, Ram Pratap Maurya wrote:

> Dear Adrian,

>

> If we set  parameter *"PG-WAL  = replica"*  in PG13 conf file , there

> is any issue  in replication through PG_WAL  and pg_log_archive log.

>



In versions of Postgres from 9.6+ your setting of hot_standby is mapped to the replica setting so it is really not a change. In other words the hot_standby setting = replica setting as of 9.6. I made the suggestion to change just so the conf setting matches the choices in current documentation. Less confusion for someone looking through the postgresql.conf file and  then looking up the values in the documentation.





As to your replication is that binary replication or logical replication?



Also you have not said where you are measuring the size growth in WAL files?



>

> Regards,

>

> Ram Pratap.

>

> -----Original Message-----

> From: Ram Pratap Maurya

> Sent: 19 April 2022 09:00

> To: Adrian Klaver <adrian.klaver@aklaver.com<mailto:adrian.klaver@aklaver.com>>;

> pgsql-general@postgresql.org<mailto:pgsql-general@postgresql.org>

> Cc: Manu Saxena <manu.saxena@lavainternational.in<mailto:manu.saxena@lavainternational.in>>

> Subject: RE: Huge archive log generate in Postgresql-13

>

> Dear Adrian,

>

> We have two replica system one is Slave and other id DR server .

>

> Salve server replicate from PG_WAL and DR system replicate from

> pg_log_archive.

>

> Can you please suggest what changes need to required in PG13 conf file.

>

> Regards,

>

> Ram Pratap.

>

> -----Original Message-----

>

> From: Adrian Klaver [mailto:adrian.klaver@aklaver.com

> <mailto:adrian.klaver@aklaver.com>]

>

> Sent: 18 April 2022 21:30

>

> To: Ram Pratap Maurya <ram.maurya@lavainternational.in

> <mailto:ram.maurya@lavainternational.in>>;

> pgsql-general@postgresql.org<mailto:pgsql-general@postgresql.org> <mailto:pgsql-general@postgresql.org>

>

> Cc: Manu Saxena <manu.saxena@lavainternational.in

> <mailto:manu.saxena@lavainternational.in>>

>

> Subject: Re: Huge archive log generate in Postgresql-13

>

> On 4/18/22 04: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.

>

> Where are you measuring this in the WAL directory or the archive directory?

>

> Do you have replication set up from this server and if so what type?

>

> FYI, the wal_level setting of hot_standby is deprecated and maps to

> replica since version 9.6. At some point you might want to change to

> match current documentation.

>

>  >

>

>  > 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.

>

>  >

>

> --

>

> Adrian Klaver

>

> adrian.klaver@aklaver.com<mailto:adrian.klaver@aklaver.com> <mailto:adrian.klaver@aklaver.com>

>





--

Adrian Klaver

adrian.klaver@aklaver.com<mailto:adrian.klaver@aklaver.com>


^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* RE: Huge archive log generate in Postgresql-13
@ 2022-04-21 05:54  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  parent: Clive Swan <cliveswan@gmail.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-21 05:54 UTC (permalink / raw)
  To: holger@jakobs.com <holger@jakobs.com>; +Cc: Ram Pratap Maurya <ram.maurya@lavainternational.in>; cliveswan@gmail.com <cliveswan@gmail.com>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>

Dear Holger,

we have one slave server and one DR server.
salve server working on streaming replication and DR server replicate with Archive log.
if we change  "wal_level " parameter value to  “replica” there any impact in existing server (Salve and DR) replication?
Please suggest .



Regards,
Ram Pratap.

From: Ram Pratap Maurya
Sent: 21 April 2022 09:49
To: Ram Pratap Maurya <ram.maurya@lavainternational.in>
Subject: FW: Huge archive log generate in Postgresql-13

---------- Forwarded message ---------
From: Clive Swan <cliveswan@gmail.com<mailto:cliveswan@gmail.com>>
Date: Tue, Apr 19, 2022 at 12:45 AM
Subject: Re: Huge archive log generate in Postgresql-13
To: Holger Jakobs <holger@jakobs.com<mailto:holger@jakobs.com>>, pgsql-admin@lists.postgresql.org<mailto:pgsql-admin@lists.postgresql.org> <pgsql-admin@lists.postgresql.org<mailto:pgsql-admin@lists.postgresql.org>>

Grenting,
Is your logging set to high verbosity??

Usually use high verbosity for debugging, then change to low verbosity.

Clive

________________________________
From: Holger Jakobs <holger@jakobs.com<mailto:holger@jakobs.com>>
Sent: Monday, 18 April 2022, 13:10
To: pgsql-admin@lists.postgresql.org<mailto:pgsql-admin@lists.postgresql.org> <pgsql-admin@lists.postgresql.org<mailto:pgsql-admin@lists.postgresql.org>>
Subject: Re: Huge archive log generate in Postgresql-13




wal_level = hot_standby            # minimal, replica, or logical
                    # (change requires restart)

Set wal_level to one of the allowed values. It's possible that your value gets interpreted as logical, thus creating larger wal entries.
Am 18.04.22 um 13:47 schrieb Ram Pratap Maurya:
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.


--

Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012



Attachments:

  postgresql.conf (application/octet-stream, 27.6K) download

^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* Re: Huge archive log generate in Postgresql-13
@ 2022-04-21 16:04  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Ram Pratap Maurya <ram.maurya@lavainternational.in>
  0 siblings, 1 reply; 13+ messages in thread

From: Adrian Klaver @ 2022-04-21 16:04 UTC (permalink / raw)
  To: Ram Pratap Maurya <ram.maurya@lavainternational.in>; pgsql-general

On 4/19/22 21:31, Ram Pratap Maurya wrote:
> Dear Adrian,
> 
> We are using binary replication and par day *pg_log_archive* total size 
> is increase after upgrade for PG11 to PG13.

So what is pruning the WAL's in pg_log_archive?

Or to put it another way what is the purpose of pg_log_archive and how 
is it managed?

> 
> Regards,
> 
> Ram Pratap.
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* RE: Huge archive log generate in Postgresql-13
@ 2022-04-22 03:41  Ram Pratap Maurya <ram.maurya@lavainternational.in>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Ram Pratap Maurya @ 2022-04-22 03:41 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general

Dear Adrian,

We are using  "pg_log_archive" for Point-in-Time Recovery and DR replication.


Regards,
Ram Pratap.

-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@aklaver.com] 
Sent: 21 April 2022 21:35
To: Ram Pratap Maurya <ram.maurya@lavainternational.in>; pgsql-general@postgresql.org
Subject: Re: Huge archive log generate in Postgresql-13

On 4/19/22 21:31, Ram Pratap Maurya wrote:
> Dear Adrian,
> 
> We are using binary replication and par day *pg_log_archive* total 
> size is increase after upgrade for PG11 to PG13.

So what is pruning the WAL's in pg_log_archive?

Or to put it another way what is the purpose of pg_log_archive and how is it managed?

> 
> Regards,
> 
> Ram Pratap.
> 



--
Adrian Klaver
adrian.klaver@aklaver.com


^ permalink  raw  reply  [nested|flat] 13+ messages in thread


end of thread, other threads:[~2022-04-22 03:41 UTC | newest]

Thread overview: 13+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 11:34 Huge archive log generate in Postgresql-13 Ram Pratap Maurya <ram.maurya@lavainternational.in>
2022-04-18 11:43 ` Mladen Gogala <gogala.mladen@gmail.com>
2022-04-18 11:47 ` Ram Pratap Maurya <ram.maurya@lavainternational.in>
2022-04-18 12:10   ` Holger Jakobs <holger@jakobs.com>
2022-04-18 19:15     ` Clive Swan <cliveswan@gmail.com>
2022-04-21 05:54       ` Ram Pratap Maurya <ram.maurya@lavainternational.in>
2022-04-18 16:00 ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-04-19 03:29   ` Ram Pratap Maurya <ram.maurya@lavainternational.in>
2022-04-19 04:41     ` Ram Pratap Maurya <ram.maurya@lavainternational.in>
2022-04-19 17:20       ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-04-20 04:31         ` Ram Pratap Maurya <ram.maurya@lavainternational.in>
2022-04-21 16:04           ` Adrian Klaver <adrian.klaver@aklaver.com>
2022-04-22 03:41             ` Ram Pratap Maurya <ram.maurya@lavainternational.in>

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