filesystem full during vacuum - space recovery issues - Mailing list pgsql-admin

From Thomas Simpson
Subject filesystem full during vacuum - space recovery issues
Date
Msg-id d141b2e2-797c-487a-b492-e4fbeeafad3e@talentstack.to
Whole thread Raw
Responses Re: filesystem full during vacuum - space recovery issues
Re: filesystem full during vacuum - space recovery issues
List pgsql-admin

Hi

I have a large database (multi TB) which had a vacuum full running but the database ran out of space during the rebuild of one of the large data tables.

Cleaning down the WAL files got the database restarted (an archiving problem led to the initial disk full).

However, the disk space is still at 99% as it appears the large table rebuild files are still hanging around using space and have not been deleted.

My problem now is how do I get this space back to return my free space back to where it should be?

I tried some scripts to map the data files to relations but this didn't work as removing some files led to startup failure despite them appearing to be unrelated to anything in the database - I had to put them back and then startup worked.

Any suggestions here?

Thanks

Tom


pgsql-admin by date:

Previous
From: khan Affan
Date:
Subject: Re: RDS Postgres & FreeableMemory issues
Next
From: Laurenz Albe
Date:
Subject: Re: filesystem full during vacuum - space recovery issues