public inbox for [email protected]  
help / color / mirror / Atom feed
Return of the pg_wal issue..
2+ messages / 2 participants
[nested] [flat]

* Return of the pg_wal issue..
@ 2025-01-22 17:33  Paul Brindusa <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Paul Brindusa @ 2025-01-22 17:33 UTC (permalink / raw)
  To: pgsql-general

Good afternoon,

Following below we are facing a similar issue and im getting a real buzz to
get this working myself, speaking to my DBA  in the  company has actually
left me a bit cold as he is not good with postgres.

So I want to try and get a solution for this and fix this issue with the
pg_wal files filling up the drive at a ridiculous rate. I have been
manually moving logs to a different directory but have had no luck in
finding an actual solution.

The cluster is a 3 node cluster with HA which is running wirth patroni.

Please help me out, I will mention that I have test cluster spun up in case
something needs testing.

Also want to give a shout out to Lorenz Albe's for posting stuff about wal
files on his company blog.

Again any help will be greatly appreciated.


" On one of our postgres instances we have the pg_wal/data folder up to
196GB, out of 200GB disk filled up.
This has stopped the posgresql.service this morning causing two
applications to crash.
Unfortunately our database admin is on leave today, and we are trying to
figure out how to get the disk down?
Any ideas or suggestions are more than welcome.

Thank you in advance."


-- 
Kind Regards,
Paul Brindusa
[email protected]


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

* Re: Return of the pg_wal issue..
@ 2025-01-22 22:16  Laurenz Albe <[email protected]>
  parent: Paul Brindusa <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2025-01-22 22:16 UTC (permalink / raw)
  To: Paul Brindusa <[email protected]>; pgsql-general

On Wed, 2025-01-22 at 17:33 +0000, Paul Brindusa wrote:
> So I want to try and get a solution for this and fix this issue with the pg_wal
> files filling up the drive at a ridiculous rate. I have been manually moving
> logs to a different directory but have had no luck in finding an actual solution.
> 
> The cluster is a 3 node cluster with HA which is running wirth patroni.
> 
> Please help me out, I will mention that I have test cluster spun up in case
> something needs testing. 
> 
> Also want to give a shout out to Lorenz Albe's for posting stuff about wal
> files on his company blog.

I guess you are referring to
https://www.cybertec-postgresql.com/en/why-does-my-pg_wal-keep-growing/

I listed all the reasons I know for your predicament.
Did you do some research along these lines?
If yes, what did you find?

Yours,
Laurenz Albe






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


end of thread, other threads:[~2025-01-22 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-01-22 17:33 Return of the pg_wal issue.. Paul Brindusa <[email protected]>
2025-01-22 22:16 ` 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