Postgre's replica holding huge amount of WAL - Mailing list pgsql-admin

From Mendbayar Alzakhgui
Subject Postgre's replica holding huge amount of WAL
Date
Msg-id SEZPR01MB5748AB66F48B9A164728F4A0EA90A@SEZPR01MB5748.apcprd01.prod.exchangelabs.com
Whole thread Raw
Responses Re: Postgre's replica holding huge amount of WAL
List pgsql-admin

Hello Postgres Community,

My PostgreSQL is a cluster that managed by Patroni and etcd. While it has 2 replica server both of the replica’s are holding huge amount of WAL file (current 55GB since 29th April). I’ve checked the replay delay, wal_keep_size, replication slot, max_wal_size but all of them were fine there’s no slot keeping that wal in replica for sure even in master there’s no slot holding that WAL, wal_keep_size is 5GB and max_wal_size is 8GB and delay is almost 0.02 second almost no delay. But there’s no that size of WAL in master node. What’s the troubleshoot of this case, how to check it?

 

Sincerely,


Mendbayar A.

pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Update command causing lock in DB.
Next
From: Daulat
Date:
Subject: pgAdmin 4 in web mode on an Ubuntu 20.04 (Focal) system.