First of all check if postgres cannot archive or delete old WAL files. For immediate space, move older files from pg_Wal to another storage but don't delete them.
Restart postgres in recovery mode and if archiving is not working then try disabling it temporarily to let PostgreSQL automatically clear older WAL files
archive_mode = off
Restart postgres in recovery mode and if archiving is not working then try disabling it temporarily to let PostgreSQL automatically clear older WAL files
archive_mode = off
On Thu, 31 Oct 2024 at 15:36, Paul Brindusa <paulbrindusa88@xxxxxxxxx> wrote:
Good morning,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.