Re: vacuum full questions

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Kevin Kempter" <kevink(at)consistentstate(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: vacuum full questions
Date: 2009-08-18 22:24:00
Message-ID: 4A8AE3B00200002500029CAE@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kevin Kempter <kevink(at)consistentstate(dot)com> wrote:

> 1) is there any way to gain some visibility per the progress of the
> vacuum full

None that I know of, short of attaching to the backend process with a
debugger and poking at its guts.

> 2) can I safely kill the vacuum full and do a dump, drop table,
> restore instead?

Killing a VACUUM FULL can leave the table or its indexes more bloated
than when you started, but it should have no other negative impact. I
have generally had to kill my attempts to VACUUM FULL and resort to
other techniques to deal with extreme bloat. If you have room for an
extra copy of the table on disk, CLUSTER is usually a fast, easy way
to rewrite the table without bloat.

-Kevin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2009-08-18 22:27:04 Re: vacuum full questions
Previous Message Kevin Kempter 2009-08-18 21:50:02 vacuum full questions