Re: vacuum full 100 mins plus? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: vacuum full 100 mins plus?
Date
Msg-id 200407141713.13472.josh@agliodbs.com
Whole thread Raw
In response to Re: vacuum full 100 mins plus?  (Patrick Hatcher <PHatcher@macys.com>)
List pgsql-performance
Patrick,

> Answered my own question.  I gave up the vacuum full after 150 mins.  I was
> able to export to a file, vacuum full the empty table, and reimport in less
> than 10 mins.  I suspect the empty item pointers and the sheer number of
> removable rows was causing an issue.

Yeah.  If you've a table that's not been vacuumed in a month, it's often
faster to clean it out and import it.

I've seen vacuums take up to 3 hours in really bad cases.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


pgsql-performance by date:

Previous
From: "Steinar H. Gunderson"
Date:
Subject: Re: Odd sorting behaviour
Next
From: Josh Berkus
Date:
Subject: Re: Odd sorting behaviour