Re: finding out vacuum completion %, and vacuum VS vacuum full

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Steve Atkins" <steve(at)blighty(dot)com>
Cc: "pgsql-general General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: finding out vacuum completion %, and vacuum VS vacuum full
Date: 2007-08-07 19:11:51
Message-ID: 87ejifgnwo.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Steve Atkins" <steve(at)blighty(dot)com> writes:

> On Aug 7, 2007, at 1:17 AM, Sergei Shelukhin wrote:
>
>> Or any way to optimize it besides the obvious (maintenace_work_mem &
>> max_fsm_pages increases and no workload)?
>> Can someone please help with this one?

What does the output of "vacuum verbose" say?

> If you have adequate disk space free (enough to hold another
> copy of the new table) and the table has an index on it, then
> CLUSTER the table.

Or you can use ALTER TABLE to change the type of a column which forces the
whole table to be rewritten.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2007-08-07 19:15:19 Re: Reordering columns, will this ever be simple?
Previous Message Cantor 2007-08-07 19:07:08 Re: Internal Postgre SQL documentation