vacuum full - Mailing list pgsql-general

From Vijaykumar Jain
Subject vacuum full
Date
Msg-id CAM+6J976si2WFrwfxT9JNrOmmmBjmgSc2aEVjSv1Fu6n7PLWOA@mail.gmail.com
Whole thread Raw
Responses Re: vacuum full
List pgsql-general
Just keeping it in a separate email, incase this is thrashed down.
vacuum full has a lot of problem stories, not just because the db gets locked, but also because it is mostly (mis)used when there are space issues.

of course, there are strong warnings in docs and wiki about using a vacuum full,
but i was just thinking 
vacuumdb and vacuumlo  can make use of options like --dry-run, like pg_repack allows,
but also just abort incase there is no disk space available.

i mean, i have seen confident replies from earlier mailing threads, where assume 2x disk required per object that is full vacuumed at least.

can this be converted into an estimate of sorts on objects that would be vacuumed and free disk that would be required before any operation starts.

maybe this is wishful thinking, but just asking.

--
Thanks,
Vijay
Mumbai, India

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Can we get rid of repeated queries from pg_dump?
Next
From: Adrian Klaver
Date:
Subject: Re: Idempotent DDL Updates