From: Carlos Benkendorf <chbenkendorf@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Vacuum x Vacuum full
Date: Fri, 25 Jun 2004 09:42:31 -0700 (PDT)
Message-ID: <20040625164231.34710.qmail@web60305.mail.yahoo.com> (raw)
I would like to know if space disk is free to the Operational System
during a standard vacuum (without the full option)?
I found in section "21.1.1 Recovering disk space" of Postgresql 7.4.2 manual
something about it.
"The standard form of VACUUM is best used with the goal of maintaining a fairly level steady-state usage of disk space.The standard form finds old row versions and makes their space available for re-use within the table, but it does not try very hard to shorten the table file and return disk space to the operating system. "
Even so it is not clear. They say the space will be available for re-use
within the table so I realized the space will not be available to
the operational system. But they also say the command "does not try very
hard to shorten the table file and return disk space to the operating
system" what means to me that it could sometimes free space to the
operating system.
I could not clear my doubt. Will the standard form, free disk space to the
operational system or not?
I did some tests and discovered that the standard form frees disk space
to the operational system. But if the standard form already frees it why the full form
will do different?
Thanks in advance!
---------------------------------
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: chbenkendorf@yahoo.com
Subject: Re: Vacuum x Vacuum full
In-Reply-To: <20040625164231.34710.qmail@web60305.mail.yahoo.com>
References: <20040625164231.34710.qmail@web60305.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox