pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin Krajmalnik <kraj@illumen.com>
To: pgsql-admin@postgresql.org
Subject: Reclaiming space from a toast table
Date: Tue, 30 Mar 2010 22:20:46 -0600
Message-ID: <F4E6A2751A2823418A21D4A160B689886141E3@fletch.stackdump.local> (raw)

We recently added a text field to a table, and ended up dropping it and
moving it to a separate related table for performance reasons.

Previously, the toast table size was negligible, but now it is over
250MB.

I have tried performing a vacuum full against the table (this is an
inherited table), but it did not appear to reclaim the space.

Is there any way to reclaim the space other than a dump/restore of the
tables?

Message-ID: <F4E6A2751A2823418A21D4A160B689886141E3@fletch.stackdump.local>
Permalink:  ../F4E6A2751A2823418A21D4A160B689886141E3@fletch.stackdump.local/
Also on:    postgresql.org/message-id/F4E6A2751A2823418A21D4A160B689886141E3@fletch.stackdump.local

 · 

reply

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: kraj@illumen.com
  Subject: Re: Reclaiming space from a toast table
  In-Reply-To: <F4E6A2751A2823418A21D4A160B689886141E3@fletch.stackdump.local>
  References: <F4E6A2751A2823418A21D4A160B689886141E3@fletch.stackdump.local>

* 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