From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: storage calculations
Date: Thu, 31 Jul 2003 16:05:30 -0400
Message-ID: <20030731200529.GD16230@libertyrms.info> (raw)
In-Reply-To: <Pine.LNX.4.50.0307311332490.31827-100000@guthrie.charm.net>
References: <Pine.LNX.4.50.0307310844001.30174-100000@guthrie.charm.net>
<20030731165820.GD15615@libertyrms.info>
<Pine.LNX.4.50.0307311332490.31827-100000@guthrie.charm.net>
On Thu, Jul 31, 2003 at 01:41:54PM -0400, pgboy@guthrie.charm.net wrote:
>
> well, i was close. i didn't realize that i had to do a (non-full)
> vacuum to mark deleted space as free.
Ooops, I think I was still unclear. VACUUM FULL actually re-arranges
the file, and returns it to the filesystem. Plain VACUUM does indeed
leave you with a file that is bigger than the actual data stored
there.
You can learn how much more data you could fit in the files using
VACUUM VERBOSE, keeping in mind that tuples may not always fit in an
already-allocated page (like when the tuples are large).
> available until i do a full vacuum, correct? (at which time the
> file size(s) will indicate the amount being used)
That's right, yes.
> just started looking at fsm. thanks for the pointer there. i hope
> i'm not acting too obtuse here.
Nope. If you don't ask, you won't learn about it.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
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: andrew@libertyrms.info
Subject: Re: storage calculations
In-Reply-To: <20030731200529.GD16230@libertyrms.info>
References: <Pine.LNX.4.50.0307310844001.30174-100000@guthrie.charm.net> <20030731165820.GD15615@libertyrms.info> <Pine.LNX.4.50.0307311332490.31827-100000@guthrie.charm.net> <20030731200529.GD16230@libertyrms.info>
* 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