Does VACUUM ever free up any disk space?

From: Chris Miles <chris_pg002(at)psychofx(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Does VACUUM ever free up any disk space?
Date: 2003-09-11 17:42:25
Message-ID: 3F60B401.2050201@psychofx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I've read a lot where people recommend using VACUUM FULL
to free up disk space, especially after many updates/inserts.

But does a regular VACUUM (or VACUUM ANALYSE) ever free up
any space?

24/7 production databases cannot be locked for long periods
of time to run VACUUM FULL, but I do not want data files
growing indefinitely (any more than they need to) so I hope
the routine VACCUM ANALYSE will take care of this.

My pg is version 7.2.x but the question can apply to newer
versions as well if the functionality has changed.

Regards,
Chris.

--
Chris Miles
http://chrismiles.info/

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ben Kim 2003-09-11 17:46:37 clarification
Previous Message Andrew Sullivan 2003-09-11 17:42:03 Re: postgresql and replication