Re: Vacuum-full very slow - Mailing list pgsql-general

From Steve Crawford
Subject Re: Vacuum-full very slow
Date
Msg-id 462F8393.4040101@pinpointresearch.com
Whole thread Raw
In response to Re: Vacuum-full very slow  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Vacuum-full very slow  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
> You could try CLUSTER instead of VACUUM FULL, as I think it should be
> faster.  And the indexes will be devoid of any bloat, which will be a
> nice side effect.
>
> I wonder, though, if you set maintenance_work_mem too high and are
> causing the OS to swap?
>

Hmmm, why would cluster be faster?

No swapping - "top" shows swap mem of 3MB used and that wasn't changing.
Just to be sure I ran "swapoff -a ; swapon -a" which brought it back to
zero and it's not budging from there.

Cheers,
Steve

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Vacuum-full very slow
Next
From: Tilmann Singer
Date:
Subject: Re: Audit-trail engine: getting the application's layer user_id