From: marc@oscar.eng.cv.net
To: pgsql-admin@postgresql.org
Subject: Re: delete/vacuum not freeing disk space
Date: Sun, 07 Oct 2001 02:15:03 GMT
Message-ID: <slrn9rveqb.6p6.marc@oscar.eng.cv.net> (raw)
References: <20011006165604.72133.qmail@web20005.mail.yahoo.com>
In article <20011006165604.72133.qmail@web20005.mail.yahoo.com>,
Joshua Franklin wrote:
> I've got a large database that's getting too big. I
> checked with the users and deleted approximately 1/6th
> of the records (we have archived backups) and then ran
> a VACUUM, which took a really long time to complete
> (several days). But, the disk space usage doesn't seem
> to have changed. Do I need to VACUUM twice or
> something? Should it be faster the second time?
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
vacuum does not reclame space in indexes, if you use a command called
reindex to recreate the indexes it may reclame space. It needs space
to write the new index's though. Reindex should be run in sigle user
mode only, per the docs.
marc
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: marc@oscar.eng.cv.net
Subject: Re: delete/vacuum not freeing disk space
In-Reply-To: <slrn9rveqb.6p6.marc@oscar.eng.cv.net>
References: <20011006165604.72133.qmail@web20005.mail.yahoo.com> <slrn9rveqb.6p6.marc@oscar.eng.cv.net>
* 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