public inbox for [email protected]  
help / color / mirror / Atom feed
Postgre's replica holding huge amount of WAL
2+ messages / 2 participants
[nested] [flat]

* Postgre's replica holding huge amount of WAL
@ 2025-05-15 06:21 Mendbayar Alzakhgui <[email protected]>
  2025-05-15 12:27 ` Re: Postgre's replica holding huge amount of WAL Laurenz Albe <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Mendbayar Alzakhgui @ 2025-05-15 06:21 UTC (permalink / raw)
  To: Pgsql-admin <[email protected]>

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.


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

* Re: Postgre's replica holding huge amount of WAL
  2025-05-15 06:21 Postgre's replica holding huge amount of WAL Mendbayar Alzakhgui <[email protected]>
@ 2025-05-15 12:27 ` Laurenz Albe <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2025-05-15 12:27 UTC (permalink / raw)
  To: Mendbayar Alzakhgui <[email protected]>; Pgsql-admin <[email protected]>

On Thu, 2025-05-15 at 06:21 +0000, Mendbayar Alzakhgui wrote:
> 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?

https://www.cybertec-postgresql.com/en/why-does-my-pg_wal-keep-growing/

Yours,
Laurenz Albe






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


end of thread, other threads:[~2025-05-15 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-05-15 06:21 Postgre's replica holding huge amount of WAL Mendbayar Alzakhgui <[email protected]>
2025-05-15 12:27 ` Laurenz Albe <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox