On Fri, Nov 1, 2024 at 2:40 AM Muhammad Usman Khan <usman.k@xxxxxxxxxxx> wrote:
For immediate space, move older files from pg_Wal to another storage but don't delete them.
No, do not do this! Figure out why WAL is not getting removed by Postgres and let it do its job once fixed. Please recall the original poster is trying to figure out what to do because they are not the database admin, so having them figure out which WAL are "older" and safe to move is not good advice.
Resizing the disk is a better option. Could also see if there are other large files on that volume that can be removed or moved elsewhere, esp. large log files.
Hopefully all of this is moot because their DBA is back from leave. :)
Cheers,
Greg