Re: Recover Disk Space From Terminated VACUUM FULL ANALYZE - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Recover Disk Space From Terminated VACUUM FULL ANALYZE
Date
Msg-id CAECtzeU8NYOeXESxf7E_Wa8w1rpvO-Yq_Xksjoz270mSA-86Aw@mail.gmail.com
Whole thread Raw
In response to Recover Disk Space From Terminated VACUUM FULL ANALYZE  (Dustin Jantz <djantz@frontporch.com>)
Responses Re: Recover Disk Space From Terminated VACUUM FULL ANALYZE
List pgsql-admin
Hi,

Le mar. 12 oct. 2021 à 21:39, Dustin Jantz <djantz@frontporch.com> a écrit :

VACUUM FULL ANALYZE was ran on the 4 largest tables on the database from a remote server. Before the commands could be completed the server lost connection to the database. Normally the database disk usage is approximately 400 GB but after the terminated VACUUM FULL ANALYZE the disk usage is over 600 GB. Summing the disk used by the tables in the database with size is still around 400 GB but the disk used by the DB as a whole is over 600 GB. What is the best way to recover the disk space?

 

Postgres version 12.6

 


You probably have orphaned files. You can look for them with https://github.com/bdrouvot/pg_orphaned.


--
Guillaume.

pgsql-admin by date:

Previous
From: Dustin Jantz
Date:
Subject: Recover Disk Space From Terminated VACUUM FULL ANALYZE
Next
From: Satoshi Nakamoto
Date:
Subject: Re: Recover Disk Space From Terminated VACUUM FULL ANALYZE