From: Tom Lane <tgl@sss.pgh.pa.us>
To: d.wall@computer.org
Cc: pgsql-admin@postgresql.org
Subject: Re: large objects & space usage
Date: Sun, 13 Jan 2008 21:04:50 -0500
Message-ID: <17198.1200276290@sss.pgh.pa.us> (raw)
In-Reply-To: <478AB3B4.1090600@computer.org>
References: <200801131301.04468.kevin@kevinkempterllc.com>
<8811.1200258265@sss.pgh.pa.us>
<478AB3B4.1090600@computer.org>
David Wall <d.wall@computer.org> writes:
> Does the psql command 'vacuum;' by itself automatically vacuum
> pg_largeobject along with all of tables in the database?
Yes, if it's issued by a superuser or the database owner.
However, that won't help much if pg_largeobject has become bloated by a
lot of no-longer-wanted BLOBs. After deleting those, you'll probably
need VACUUM FULL or CLUSTER or some such if you want to reclaim the
disk space. Plain VACUUM usually isn't very successful at shortening
a table file.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, d.wall@computer.org
Subject: Re: large objects & space usage
In-Reply-To: <17198.1200276290@sss.pgh.pa.us>
* 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